Developing Developers

Thursday, September 8, 2016

Run SQL*plus command or script from CMD command line

echo exit | sqlplus user/pass@connect @scriptname

Reference:
http://serverfault.com/questions/87035/run-oracle-sql-script-and-exit-from-sqlplus-exe-via-command-prompt
Posted by LFLFM at 1:23:00 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: batch, Oracle, SQL*plus

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2019 (1)
    • ►  October (1)
  • ►  2018 (2)
    • ►  June (2)
  • ▼  2016 (9)
    • ►  December (1)
    • ►  October (2)
    • ▼  September (6)
      • PeopleSoft Application Designer and Data Mover acc...
      • Linux Processes
      • Run SQL*plus command or script from CMD command line
      • Update all tables that have a specific data in a s...
      • List indexes and indexed columns with a SELECT in ...
      • Back!
  • ►  2013 (3)
    • ►  April (3)
Simple theme. Powered by Blogger.