Getting oracle variables from unix
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: Getting oracle variables from unix

  1. #1
    Join Date
    Jan 2001
    Posts
    515
    If I have a shell script log into oracle and then select sysdate from dual. How would I pass that information into a variable inside my shell script?

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Code:
    TO_DT=`sqlplus -s $CONNECT <
    
    Jeff Hunter
    marist89@yahoo.com
    http://marist89.blogspot.com/
    Get Firefox!
    "I pledge to stop eating sharks fin soup and will not do so under any circumstances."

  3. #3
    Join Date
    Jan 2001
    Posts
    515

    works great

    It works great thanks.

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