May 16, 2003 #1 cba321 Programmer May 1, 2003 9 US Dear All, I have created a package having a stored procedure. I wanted to create a temporary table inside the stored procedure. Can anyone of you help me at the earliest. Regards, CBA321
Dear All, I have created a package having a stored procedure. I wanted to create a temporary table inside the stored procedure. Can anyone of you help me at the earliest. Regards, CBA321
May 18, 2003 #2 ManjulaMadhu Programmer Jan 7, 2003 85 SG if you are asking for the syntax: create global temporary table test1 ( c1 number, c2 number)<on commit delete rows>; the on commit parameter is optional and can have one of these values : delete rows(this is default) /preserve rows Upvote 0 Downvote
if you are asking for the syntax: create global temporary table test1 ( c1 number, c2 number)<on commit delete rows>; the on commit parameter is optional and can have one of these values : delete rows(this is default) /preserve rows
May 19, 2003 #3 sem Programmer Jun 3, 2000 4,709 UA If you mean DATABASE table, you need DYNAMIC SQL (e.g. EXECUTE IMMEDIATE). You may also define some package-wide collection type. Regards, Dima Upvote 0 Downvote
If you mean DATABASE table, you need DYNAMIC SQL (e.g. EXECUTE IMMEDIATE). You may also define some package-wide collection type. Regards, Dima