Skip to content

Commit

Permalink
Switch from dbms_sql.describe_columns to dbms_sql.describe_columns2.
Browse files Browse the repository at this point in the history
  • Loading branch information
oraclebase committed Feb 10, 2020
1 parent 4c49f61 commit b10acbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miscellaneous/csv.sql
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ BEGIN
RAISE_APPLICATION_ERROR(-20000, 'You must specify a query or a REF CURSOR.');
END IF;

DBMS_SQL.describe_columns (l_cursor, l_col_cnt, l_desc_tab);
DBMS_SQL.describe_columns2 (l_cursor, l_col_cnt, l_desc_tab);

FOR i IN 1 .. l_col_cnt LOOP
DBMS_SQL.define_column(l_cursor, i, l_buffer, 32767 );
Expand Down

0 comments on commit b10acbd

Please sign in to comment.