判断那个字段不可为空
错误:DB2 SQL Error: SQLCODE=-407, SQLSTATE=23502, SQLERRMC=TBSPACEID=2, TABLEID=1284, COLNO=31, DRIVER=4.21.29
解决:①SELECT * FROM SYSCAT.TABLES WHERE TBSPACEID='2' AND TABLEID = '1284';
②SELECT * FROM SYSCAT.COLUMNS WHERE TABSCHEMA = 'CMS3' AND TABNAME = 'TC_INVENTORY_ITEM' AND COLNO = '31';
网友评论