Search Results

Search: Posts Made By: matt01
8,135
Posted By matt01
Assign SQL result in shell variable
Hi

im trying to assign the result of the db2 command to a variable inside a shell script...
: tab_cnt=`db2 "select count(*) from syscat.tables where tabname = 'ABC' and tabschema = 'MATT01'"...
Showing results 1 to 1 of 1

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