Re: Dynamic variables within unix script file...
From: Brian Sakach <Brian.Sakach_at_DaytonOH.NCR.COM>
Date: Mon, 10 Jan 1994 18:31:47 GMT
Message-ID: <Brian.Sakach.5.000D880F_at_DaytonOH.NCR.COM>
Date: Mon, 10 Jan 1994 18:31:47 GMT
Message-ID: <Brian.Sakach.5.000D880F_at_DaytonOH.NCR.COM>
>Simply changing the line containing your select statement to:
>select * from table_name where emp_num = $1;
>should do the trick. The Unix shell will substitute the $1 with the
>first parameter you give in, before passing the command to SQL*Plus.
George Earl Jones
George Jones
George Earl Jones, III
** Brian.Sakach_at_DaytonOH.NCR.COM **
Received on Mon Jan 10 1994 - 19:31:47 CET