我需要用Oracle ProC写一个程式,里面必须有个Delete的SQL,但是我的表名字是动态的。
EXEC SQL DELETE FROM :tmpTableName;
不过这样会报错
Syntax error at line 127, column 39, file c:\proc_sqlldr.pc:
Error at line 127, column 39 in file c:\proc_sqlldr.pc
                               EXEC SQL DELETE FROM :tmpTableName;
......................................1
PCC-S-02201, Encountered the symbol ":" when expecting one of the following:   ( an identifier, a quoted string, date, table, count,
   extract, interval, multiset, the, time, timestamp, trim, avg,
   max, min, sum, stddev, variance,Syntax error at line 0, column 0, file c:\proc_sqlldr.pc:
Error at line 0, column 0 in file c:\proc_sqlldr.pc
PCC-S-02201, Encountered the symbol "<eof>" when expecting one of the following:   ; : an identifier, end-exec, random_terminalError at line 0, column 0 in file c:\proc_sqlldr.pc
PCC-F-02102, Fatal error while doing C preprocessing请问各位大大知道要怎么写,才能把表名写成动态的吗?
先谢