Run Oracle SQL script and exit from sqlplus.exe via command prompt

Another way is to use this command in the batch file:

echo exit | sqlplus user/pass@connect @scriptname

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)