Quote:
|
Originally Posted by n_i
Try "select *-1 from mytable where..." - this just might work...
|
But this only works if the last column is omited.
Ok, get serious:
You can write an SQL from catalog table to get all columns:
db2 select colname from syscat.columns where tabschema='
schema' and tabname='
TEST'
Hope this helps,
Grofaty