DSQL
PACKAGE dsql AS
TYPE dd_rec_type IS RECORD (
table_name varchar2(30),
column_name varchar2(30),
data_type varchar2(9));
TYPE dd_table_type IS TABLE OF dd_rec_type
INDEX BY BINARY_INTEGER;
TYPE string1024_table IS TABLE OF varchar2(1024)
INDEX BY BINARY_INTEGER;
TYPE string9_table IS TABLE OF varchar2(9)
INDEX BY BINARY_INTEGER;
TYPE number_table IS TABLE OF number
INDEX BY BINARY_INTEGER;
PROCEDURE get_columns(startch IN char,
dd_table OUT dd_table_type,
n OUT number);
procedure get_query_results(query_string IN varchar2,
ncols IN number,
column_types IN string9_table,
result OUT string1024_table,
nrows OUT number);
END dsql;