/**Begin C:\PDM_UPGRADE\PDM1\SRC_constraint.sql **/
 EXEC P_ALTERPK 'PK_SRC_REGEXPERTCATEGORY', 'T_SRC_REGEXPERTCATEGORY', 'FPKID', '1';

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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SRC_REGEXPERTCATEGORY_BID') CREATE INDEX IDX_SRC_REGEXPERTCATEGORY_BID ON T_SRC_REGEXPERTCATEGORY ( FBASEDATAID );



/**End C:\PDM_UPGRADE\PDM1\SRC_constraint.sql **/
