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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_FCS_UNITTEST') CREATE INDEX IDX_FCS_UNITTEST ON T_FCS_UNITTEST ( FBILLNO );


 EXEC P_ALTERPK 'PK_FCS_UNITTEST_ENTRY', 'T_FCS_UNITTEST_ENTRY', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_FCS_UNITTEST_ENTRY') CREATE INDEX IDX_FCS_UNITTEST_ENTRY ON T_FCS_UNITTEST_ENTRY ( FID );


 EXEC P_ALTERPK 'PK_FCS_MUL_UNITTEST', 'T_FCS_MUL_UNITTEST', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_FCS_MUL_UNITTEST') CREATE INDEX IDX_FCS_MUL_UNITTEST ON T_FCS_MUL_UNITTEST ( FID );



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