Topic: Dynamic SQL in the batch
Prompt how to launch please dynamic SQL from under a packet and that the result was produced in a file?
That that like
SPOOL RESULTS.TXT L_SQL VARCHAR (2000); L_SQL: = ' select * from TABLE1 '; EXECUTE IMMEDIATE L_SQL; SPOOL OFF
Where here at me an error?