console output pl sql 1

console output pl sql

dbms_output.put_line ('TEXT');

Here is what the above code is Doing:
1. We’re creating a cursor object, which is a control structure that enables traversal over the records in a database.
2. We’re executing an SQL statement which will return all the rows in the table.
3. We’re fetching each row in the table using a cursor.fetchall() method.
4. We’re printing the column value of each row.

Similar Posts