Search Results

Search: Posts Made By: sgmini
6,115
Posted By sgmini
if i give the first code its giving the error as...
if i give the first code its giving the error as 'ksh: select COLUMN_NAME_1 from TABLE_NAME where COLUMN_NAME_2='VALUE_TO_CHECK': not found'.

and for the second its just displaying the select...
6,115
Posted By sgmini
Assigning value of SQL output to a variable in shell scripting
I am trying to assgn the output of the select statement to a variable, like this

"VARIABLE_NAME=$ db2 "select COLUMN_NAME_1 from TABLE_NAME where COLUMN_NAME_2='VALUE_TO_CHECK'"; "

but the...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 10:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy