关于表释放的问题
在执行如下SQL语句时,
select * into tmptblname from sourcetbl;
第一次没有问题。
然后我接着再执行:
drop table tmptblname;
然后再执行:
select * into tmptblname from sourcetbl;
出现如下问题:
ct_cursor(DEALLOC):user api layer:external error: The command cannot be
initialized after the cursor has been opened.
请问该如何操作才能避免如上问题?需要加什么语句控制?