/**Begin D:\PDM_UPGRADE\PDM1\FCS_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_FCS_BILLVERSION_SET', 'T_FCS_BILLVERSION_SET', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_FCS_BILLVERSION_SET') CREATE INDEX IDX_FCS_BILLVERSION_SET ON T_FCS_BILLVERSION_SET ( FBIZENTITYID );


 EXEC P_ALTERPK 'PK_T_FCS_BILLVERSION_SET_L', 'T_FCS_BILLVERSION_SET_L', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_FCS_BILLVERSION_SET_L') CREATE INDEX IDX_T_FCS_BILLVERSION_SET_L ON T_FCS_BILLVERSION_SET_L ( FID ,FLOCALEID );



/**End D:\PDM_UPGRADE\PDM1\FCS_constraint.sql **/
