/**Begin D:\PDMTOOLS\PDM_UPGRADE_1.3\PDM_UPGRADE\PDM1\TCCIT_constraint.sql **/
 EXEC P_ALTERPK 'PK_TCCIT_QYSDS_A201020_D', 'T_TCCIT_QYSDS_A201020_D', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_TCCIT_QYSDS_A201020_D_1') CREATE UNIQUE INDEX IDX_T_TCCIT_QYSDS_A201020_D_1 ON T_TCCIT_QYSDS_A201020_D ( FSBBID ,FEWBLXH );


 EXEC P_ALTERPK 'PK_TCCIT_QYSDS_A201020_D1', 'T_TCCIT_QYSDS_A201020_D1', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_TCCIT_QYSDS_A201020_D1_1') CREATE UNIQUE INDEX IDX_T_TCCIT_QYSDS_A201020_D1_1 ON T_TCCIT_QYSDS_A201020_D1 ( FSBBID ,FEWBLXH );


 EXEC P_ALTERPK 'PK_TCCIT_QYSDS_A201020_D2', 'T_TCCIT_QYSDS_A201020_D2', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_TCCIT_QYSDS_A201020_D2_1') CREATE UNIQUE INDEX IDX_T_TCCIT_QYSDS_A201020_D2_1 ON T_TCCIT_QYSDS_A201020_D2 ( FSBBID ,FEWBLXH );



/**End D:\PDMTOOLS\PDM_UPGRADE_1.3\PDM_UPGRADE\PDM1\TCCIT_constraint.sql **/
