/**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_A105070' AND KSQL_COL_NAME ='FYEAR') 
 ALTER TABLE T_TCCIT_QYSDS_A105070 ADD (FYEAR VARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_QYSDS_A107010' AND KSQL_COL_NAME ='FQTHJ') 
 ALTER TABLE T_TCCIT_QYSDS_A107010 ADD (FQTHJ DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_QYSDS_A107010' AND KSQL_COL_NAME ='FJCYJZJSR') 
 ALTER TABLE T_TCCIT_QYSDS_A107010 ADD (FJCYJZJSR DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_QYSDS_A107010' AND KSQL_COL_NAME ='FDSJDXGFYJJKC') 
 ALTER TABLE T_TCCIT_QYSDS_A107010 ADD (FDSJDXGFYJJKC DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_QYSDS_A107010' AND KSQL_COL_NAME ='FQSJDXGFYJJKC') 
 ALTER TABLE T_TCCIT_QYSDS_A107010 ADD (FQSJDXGFYJJKC DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_QYSDS_A107010' AND KSQL_COL_NAME ='FQYTRJCYJZCJJKC') 
 ALTER TABLE T_TCCIT_QYSDS_A107010 ADD (FQYTRJCYJZCJJKC DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_QYSDS_A107010' AND KSQL_COL_NAME ='FGXJSQYSBQJJJKC') 
 ALTER TABLE T_TCCIT_QYSDS_A107010 ADD (FGXJSQYSBQJJJKC DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_QYSDS_A107010' AND KSQL_COL_NAME ='FJJKCQT') 
 ALTER TABLE T_TCCIT_QYSDS_A107010 ADD (FJJKCQT DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_QYSDS_A107010' AND KSQL_COL_NAME ='FJJKCBLJJSFF')
 ALTER TABLE T_TCCIT_QYSDS_A107010 ADD (FJJKCBLJJSFF BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_QYSDS_A107012_MX' AND KSQL_COL_NAME ='FJJKCBLJJSFF')
 ALTER TABLE T_TCCIT_QYSDS_A107012_MX ADD (FJJKCBLJJSFF BIGINT DEFAULT 0 NOT NULL );

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