Open angoca opened 10 years ago
db2 "select varchar(trim(c.tabschema) || '.' || trim(c.tabname) || '.' || trim(colname), 128) as \"ts.table.col\" from syscat.tables t join syscat.columns c on (c.tabschema = t.tabschema and c.tabname = t.tabname) where t.tbspaceid = 3 and t.tableid = 531 and c.colno = 2"
SQL0407N Assignment of a NULL value to a NOT NULL column "TBSPACEID=2, TABLEID=12, COLNO=1" is not allowed. SQLSTATE=23502
Something better to solve this.