1 Reply Latest reply: May 7, 2013 11:00 AM by Brian Bontrager RSS

    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.