Dynamic SQL- ORA-01006: bind variable does not exist
777182Aug 16 2010 — edited Sep 7 2010Hi,
I wrote a Dynamic SQL code that distributing records to different tables based on variable for the table name.
The data is being retrieved from a staging table that also include the targer table name.
I have no problem executing the code on my computer. However when my colleague tries to run it on his station he receives the follwoing Oracle error message:
ORA-01006: bind variable does not exist
The code does not require the user to insert any parameters and all the require data available in the staging table.
Please let me know the reason for that error. Is it related to different session parameters? Because I have no problem executing it on my satation.
Thanks in advance.