

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MDS_RECEIVEDATA' AND KSQL_COL_NAME ='FPRODORG')
 ALTER TABLE T_MDS_RECEIVEDATA ADD (FPRODORG  BIGINT DEFAULT 0 NOT NULL  );


