Direct mode and oracle "table type" return parameters
Posted: Tue 27 Jan 2009 14:12
Hi,
I'm trying to use the following routine:
How can I use this in an anonymous PL/SQL block in Direct mode?
I was trying:
I set parameter "stacktrace" to be of type ftTable in Delphi, but when executing this, I get:
"type of object must be defined"
How can I get this output parameter value into Delphi?
Thanks.
Martijn Tonies
Upscene Productions
I'm trying to use the following routine:
Code: Select all
DBMS_DEBUG.PRINT_BACKTRACE (backtrace OUT backtrace_table);I was trying:
Code: Select all
declare
backtrace dbms_debug.backtrace_table;
n binary_integer;
begin
dbms_debug.print_backtrace(backtrace);
:stacktrace := dbms_debug.backtrace_table();
:stacktrace.extend(backtrace.count);
for n in backtrace.first .. backtrace.last loop
:stacktrace(n) := backtrace(n);
end loop;
end;"type of object must be defined"
How can I get this output parameter value into Delphi?
Thanks.
Martijn Tonies
Upscene Productions