/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\TCTB_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_TCTB_ORG_GROUP_PARAM', 'T_TCTB_ORG_GROUP_PARAM', 'FENTRYID', '1';

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



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