You need to see the DBMS_SQL documentation urgently.
See http://download-west.oracle.com/docs...sql.htm#998100
Q1:DBMS_SQL cursor is just a number, pointer to a data structure
Q2:In case DDL (which the CREATE TABLE command is), the return value of the EXECUTE function should be ignored
Q3:For the example given, using loop makes no sense, the DDL commands don't return rows. For queries returning rows (SELECT ...) use the FETCH_ROWS function.
Ales
The whole difference between a little boy and an adult man is the price of toys
Bookmarks