I am trying to used bind variable in the export wizzard.
I am trying to export using Toad automation Script.
To used bind variable with export i did follwoing.
Created the bind variable “maxdate”
created SQL script “maxquery.sql” with follwoing query.
SELECT * FROM TEMP_TAB WHERE update_date=:maxdate;
Used above SQL script in the export wizzard.
When i try to test the automation scripts, it throws the error.
Object reference not set to an instance of an object.
Could you please suggest how to fix this issue or how we can use the bind variable in the export query.