Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

output table plsql

SET SERVEROUTPUT ON
     BEGIN
          -- A PL/SQL cursor (google implicit cursor to know more about it)
          FOR cursor1 IN (SELECT * FROM table1)
          LOOP
            DBMS_OUTPUT.PUT_LINE('Column 1 = ' || cursor1.column1 ||
                               ', Column 2 = ' || cursor1.column2);
          END LOOP;
     END;
        /
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #output #table #plsql
ADD COMMENT
Topic
Name
1+5 =