home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / database / oracle / 2650 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  907 b 

  1. Path: sparky!uunet!sf!ecsa01!meb1
  2. From: meb1@ecsa01.encon.pge.com (Mark E. Bole)
  3. Newsgroups: comp.databases.oracle
  4. Subject: Re: OPS$LOGIN login for oraperl
  5. Message-ID: <222@ecsa01.encon.pge.com>
  6. Date: 29 Dec 92 15:24:52 GMT
  7. References: <1992Dec20.063149.14109@ml.csiro.au>
  8. Organization: Pacific Gas & Electric, SF, CA
  9. Lines: 16
  10. X-Newsreader: Tin 1.1 PL4
  11.  
  12. peter@ml.csiro.au (Peter Campbell) writes:
  13. : Is it possible to get oraperl to login to a database just using a / the way
  14. : sqlplus etc. can on my Sun?
  15. : Peter Campbell       peter@ml.csiro.au
  16. : CSIRO Marine Labs, Hobart, Australia
  17.  
  18.  
  19. I use this syntax, it seems to work:
  20.  
  21.     $lda = &ora_login($SID, '/', '') || die $ora_errstr;
  22.  
  23. -- 
  24. |   meb1@encon.pge.com                                                |
  25. |   Mark Bole, Pacific Gas & Electric Co., San Francisco, California  |
  26. |   415/973-5721                                                      |
  27.