Syntax DBMS_SQL.OPEN_CURSOR RETURN INTEGER;Parameters None. Returns This function returns the cursor ID number of the new cursor. DBMS_SQL.close_cursor(cursor_name); DBMS_SQL.CLOSE_CURSOR(cursor_name); 这两句话,好像也有问题
nicholaz(九思·逢尤) 说得对,我试过了,但是能不能在 DBMS_SQL.PARSE(cursor_name, 'create user A0000009 identified by aaaaaa default tablespace TEMPORARY temporary tablespace TEMPORARY profile DEFAULT', dbms_sql.native);中间执行两条 SQL语句呢? 这里只有一条
DBMS_SQL.OPEN_CURSOR
RETURN INTEGER;Parameters
None. Returns
This function returns the cursor ID number of the new cursor. DBMS_SQL.close_cursor(cursor_name);
DBMS_SQL.CLOSE_CURSOR(cursor_name);
这两句话,好像也有问题
DBMS_SQL.PARSE(cursor_name, 'create user A0000009
identified by aaaaaa
default tablespace TEMPORARY
temporary tablespace TEMPORARY
profile DEFAULT',
dbms_sql.native);中间执行两条 SQL语句呢? 这里只有一条