Search Results

Search: Posts Made By: Nandy
2,100
Posted By RudiC
You mean Table_name contains a "1"? Not too...
You mean Table_name contains a "1"? Not too surprising (man awk):
You might try "db2 -x \"SELECT TRIM... " | getline Table_name, given your db2 command yields some correct result.
2,932
Posted By hergp
You could use awk to produce the SQL statements...
You could use awk to produce the SQL statements to query the database and pipe the output to the DB2 CLP, for example

awk -f script.awk inputfile | db2 +p -x

You will have to print the CONNECT...
Showing results 1 to 2 of 2

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