I want to substitute a variable in oracle
.
The var is coming in via SQLPlus
and is reference using &1
&1 in my scenario is the schema name - here's the SQL.
CREATE SYNONYM ACCOUNT FOR &1.ACCOUNT;
Assuming &1 equals ABC the synonym
created is for ABCAccount, instead of ABC.Account. For some reason the period is removed.
Any ideas why?