Results 1 to 1 of 1
  1. #1
    Join Date
    Jul 2012

    Question Unanswered: Sybsae - Capturing a value !


    I have a unix shell script variable which is being used inside a script
    I just want to fetch value from the database and assign the value to the variable in the shell script.
    Main criteria is, i should not login in to the database manually fetch it.

    for example say:

    x= query_cmd 'select emp_no from employees'

    ( x = 105667 )

    i had a code walk through, where i missed the query_cmd which is an executable. what could that be ? can u please suggest the possible options to fetch the value outside the database ?

    u r help is much appreciated !
    Last edited by Rudy_G; 09-30-12 at 03:01.

Posting Permissions

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