Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Dynamice SQL in Oracle
Maxim Demenko wrote:
> DA Morgan schrieb:
>
>>Maxim Demenko wrote: >> >> >>>As the table t was created with execute immediate, he didn't have >>>another choice ;-) >>> >>>Best regards >>> >>>Maxim >> >> >>Actually he did. Anyone creating a table using EXECUTE IMMEDIATE has >>a choice. >> >>The choice to not try to kludge SQL Server habits into Oracle and >>to do their DDL according to "best practices" using global >>temporary tables. >> >>What is, in effect, being said here is: "If I do something stupid >>it doesn't work." And on that I will agree.
True but you are ignoring the point. There is NEVER a reason do create a table within a PL/SQL block. EVER!
A sense of "needing to do so" is, by definition, a desire to do harm.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace 'x' with 'u' to respond)Received on Sat May 14 2005 - 00:24:07 CDT