IF NOT EXISTS ( SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PMTS_TASK' AND KSQL_COL_NAME = 'FRELATEDORDERQTY' )
 ALTER TABLE T_PMTS_TASK ADD ( FRELATEDORDERQTY BIGINT DEFAULT 0 NOT NULL );
 
 
IF NOT EXISTS ( SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FMM_SUPPORTMSG_PJ' AND KSQL_COL_NAME = 'FSUPPERSON' )
 ALTER TABLE T_FMM_SUPPORTMSG_PJ ADD ( FSUPPERSON BIGINT DEFAULT 0 NOT NULL );
 
IF NOT EXISTS ( SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FMM_SUPPORTMSG_PJ' AND KSQL_COL_NAME = 'FSUPORG' )
 ALTER TABLE T_FMM_SUPPORTMSG_PJ ADD ( FSUPORG BIGINT DEFAULT 0 NOT NULL );