开发者

Oracle equivalent to Ingres inquire_sql or inquire_ingres?

开发者 https://www.devze.com 2023-04-04 19:43 出处:网络
I\'m converting some legacy embedded-Ingres C code to work against Oracle.I\'ve found references to functions \"inquire_ingres()\" and \"inquire_sql(),\" which, per the docs at http://docs.ingres.com/

I'm converting some legacy embedded-Ingres C code to work against Oracle. I've found references to functions "inquire_ingres()" and "inquire_sql()," which, per the docs at http://docs.ingres.com/ingres/9.3/sql-reference-g开发者_如何学运维uide/2275-inquiresql-function, allow a program to gather runtime information about the status and results of the last SQL statement that the program issued.

Does Oracle provide similar convenience functionality, or am I going to have to just paw around some more in the innards of sqlca as I suspect I'm going to?


It looks like the answer is: you have to paw around in the innards of sqlca. There's a lot of good information buried in that struct though -- check out http://infolab.stanford.edu/~ullman/fcdb/oracle/or-proc.html#sqlca for some details.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号