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

Thread: sqlplus: can I connect without actually connecting

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

    Question

    Is there a way (without writing a shell script) to see if a username/password will be able to connect to sqlplus, without actually connecting ?

    so if I do:

    sqlplus scott/tiger

    I just want a boolean result, not actually connect to the database.

  2. #2
    Join Date
    Oct 2000
    Location
    Saskatoon, SK, Canada
    Posts
    3,925
    Nop!

    Sam
    Thanx
    Sam



    Life is a journey, not a destination!


  3. #3
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    I wrote a perl script that does a quick connect via OS authentication. If it fails, I exit 1, otherwise, I exit 0.
    Jeff Hunter

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