DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: Windows NT BAT file

  1. #1
    Join Date
    Sep 2000
    Location
    Chicago, IL
    Posts
    316

    Question

    If I have a Windows batch (BAT or CMD) file, and I am executing some sql:

    How do I hadle errors of connecting to SQLPlus, lets say that I try to connect to SQLPlus and but get some error, is there some kind of exit code (like in UNIX Shell) ? Depending on the result I need to retry after 10 mins or exit, etc.

    Thanks in advance.

  2. #2
    Join Date
    Nov 2000
    Posts
    20
    Hai,
    Try with the Errorlevel in batch file.....
    ...aji
    Thomas

  3. #3
    Join Date
    Sep 2000
    Location
    Chicago, IL
    Posts
    316
    No one know this ???

  4. #4
    Join Date
    Jun 2000
    Posts
    7
    This topic is covered in the "SQL*Plus User's Guide and Reference."


    Peter

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width