/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\TCCIT_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_RECOUP_DEFICIT' AND KSQL_COL_NAME ='FAMOUNTRESOURCE') 
 ALTER TABLE T_TCCIT_RECOUP_DEFICIT ADD (FAMOUNTRESOURCE VARCHAR(50) DEFAULT ' ' NOT NULL );
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_RECOUP_DEF_SJJT' AND KSQL_COL_NAME ='FAMOUNTRESOURCE')
  ALTER TABLE T_TCCIT_RECOUP_DEF_SJJT ADD (FAMOUNTRESOURCE VARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_DEV_JJKC' AND KSQL_COL_NAME ='FBUSSTARTDATE') 
 ALTER TABLE T_TCCIT_DEV_JJKC ADD (FBUSSTARTDATE DATETIME );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_DEV_JJKC' AND KSQL_COL_NAME ='FBUSENDDATE') 
 ALTER TABLE T_TCCIT_DEV_JJKC ADD (FBUSENDDATE DATETIME );

/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\TCCIT_table.sql **/
