/**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_QYSDS_FZJGXX' AND KSQL_COL_NAME ='FXSMZDFYHJE') 
 ALTER TABLE T_TCCIT_QYSDS_FZJGXX ADD (FXSMZDFYHJE DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_QYSDS_FZJGXX' AND KSQL_COL_NAME ='FXSMZDFJMFD') 
 ALTER TABLE T_TCCIT_QYSDS_FZJGXX ADD (FXSMZDFJMFD DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_QYSDS_FZJGXX' AND KSQL_COL_NAME ='FFZJGXSQYXYHQK') 
 ALTER TABLE T_TCCIT_QYSDS_FZJGXX ADD (FFZJGXSQYXYHQK VARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_QYSDS_FZJGXX_DYN' AND KSQL_COL_NAME ='FXSMZDFYHJE') 
 ALTER TABLE T_TCCIT_QYSDS_FZJGXX_DYN ADD (FXSMZDFYHJE DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_QYSDS_FZJGXX_DYN' AND KSQL_COL_NAME ='FXSMZDFJMFD') 
 ALTER TABLE T_TCCIT_QYSDS_FZJGXX_DYN ADD (FXSMZDFJMFD DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_QYSDS_FZJGXX_DYN' AND KSQL_COL_NAME ='FFZJGXSQYXYHQK') 
 ALTER TABLE T_TCCIT_QYSDS_FZJGXX_DYN ADD (FFZJGXSQYXYHQK VARCHAR(50) DEFAULT ' ' NOT NULL );

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