Bonjour,
j'ai 2 connexions valides U1/P1@B1 et U2/P2@B2, avec un db_link U1->U2.
quand j'essaie de me connecter normalement sqlplus -s ..., les 2 connexions marchent.
quand j'essaie une connexion :
sqlplus -s U1/P1@B1 ,
puis
select * from table@DBLINK
ca marche aussi.
par contre quand j'utilise un script :
sqlplus -s U1/P1@B1 @script.sql "parametre";
ca me renvoie :
ORA-12154: TNS:could not resolve the connect identifier specified
pourtant le script fait juste un delete utilisant un curseur.
Merci d'avance
Partager