SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
DROP TABLE mytable; CREATE TABLE mytable( id NUMBER GENERATED BY DEFAULT AS IDENTITY, col1 VARCHAR2(255) NOT NULL, col2 VARCHAR2(255) NOT NULL, source_hash VARCHAR2(255), target_hash VARCHAR2(255), PRIMARY KEY(id) ); INSERT INTO mytable (col1, col2) VALUES ('a', 'b'); INSERT INTO mytable (col1, col2) VALUES ('c', 'd'); INSERT INTO mytable (col1, col2) VALUES ('e', 'f'); create or replace procedure read_perftest_clobs is cursor c_mytable is SELECT col1 FROM mytable; begin for rec_clob in c_mytable loop DBMS_OUTPUT.PUT_LINE(rec_clob.col1); end loop; end;

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear