1 Reply Latest reply on May 7, 2013 4:00 PM by Brian Bontrager

    connecting and running a sql script from DOS prompt

    933417
      Hi ,
      I have a requirement where I need to connect to a databse and run a sql script file from DOS prompt.
      Is it possible?Can u share me the code to do it .

      I tried with below code,but not able to run the script

      echo quit | sqlplus -s username/pwd@dbname@'C:\Documents and Settings\amugas\Desktop\DB_LINK.sql'

      Thanks.