David Aldridge :
Generic = dynamic SQL, either \"Native Dynamic SQL\" (Execute Immediate) or the DBMS_SQL package. http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_dynamic_sql.htm#i1006546\n\nOrdinarily SQL statements are parsed when the procedure is compiled, however this is not possible if the table name is not known -- the table may of course not even exist at compile time.\n\nHere are links to documentation on the topic, with examples.\n\nhttp://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/dynamic.htm#LNPLS011\n\nhttp://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_dynamic_sql.htm#ADFNS008\n\nA word of caution -- do not use dynamic SQL if you can use static SQL. The flexibility comes at a price.",
2009-12-16T11:14:12
cletus :
Well you'll need the EXECUTE IMMEDIATE statement for sure.",
2009-12-16T10:37:48