How can we use execute immediate inside sql() in script?
my requiremnt is -
execute immediate ‘select count(*) from $stage_table where DATA_LOAD_CONTROL_ID = $id’
into $records_inserted;
$stage_table and $id are input parameters and $records_inserted is return value.
am getting errors while executing this… as i dnt have the proper syntax for doing this… PLease help!
p.sree (BOB member since 2009-06-15)