Your problem is that you added code to sql1 *after* you parsed it using dbms_sql.parse. This is like adding something to a string after you printed it and then wondering why it wasn't printed. Move the parse call down *after* you finish building the string.
- Chris




Reply With Quote