摘要:
declare cc TEMP_OO; dd TEMP_TT; QQ TEMP_TT; CURSOR A IS select A, B from table(QQ) order by 2; begin DD := TEMP_TT(); FOR I IN 1 .. 5 LOOP cc := TEMP_OO(I, 6 - I); DD.EXTEND; ... 阅读全文
摘要:
1.确定session id 如果是存储过程,在程序开头设置客户端标识。并根据标识获取session id。 DBMS_SESSION.set_identifier('XXX'); select * from v$session s where s.CLIENT_IDENTIFIER = 'XXX' 阅读全文