Dynamic create synonym script
178210May 21 2005 — edited May 21 2005we want to create few synonyms dynamicalyy, (ie) we will aceept the owner Name,DB link Names as parameter
(ex) I need to create dynamic statement
create synonym A.ATAB FOR B.ATAB@link1
while i execute the statement as
create synonym A.ATAB FOR &OWNER||".ATAB@"||&DBLINK
it gives an error saying that
SQL command not properly ended
what is wrong?