I'm trying to create a template for the DELETE statement with following content:
is a list generated from all_tables view.
is a list dependent on bind variable :Table_Owner.
is a hidden variable, also dependent on bind variable :Table_Owner, but it fails.
Here's template's code:
The error I get is a pop-up with following content:
Table Alias: Error executing SELECT statement:
ORA-01008: not all variables bound
Do you have a workaround (or a fix) for it? Am I doing something wrong?
Code:
delete [TABLE].[TABLE] [TABLE]
where
Here's template's code:
Code:
delete &<name="Table Owner"
required="yes"
lowercase="yes"
list="select username
from all_users
order by 1"
restricted="yes">.&<name="TableName"
required="yes"
lowercase="yes"
list="select table_name
from all_tables
where owner = upper(:Table_Owner)
order by table_name"> &<name="Table Alias"
hidden="yes"
lowercase="yes"
default="select substr(:Table_Owner,1,1)
from dual">
where [#]
The error I get is a pop-up with following content:
Table Alias: Error executing SELECT statement:
ORA-01008: not all variables bound
Do you have a workaround (or a fix) for it? Am I doing something wrong?