/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\MDL_constraint.sql **/
 EXEC P_ALTERPK 'PK_META_GRAYMETA', 'T_META_GRAYMETA', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_META_GRAYMETA_APPGROUP') CREATE INDEX IDX_META_GRAYMETA_APPGROUP ON T_META_GRAYMETA ( FAPPGROUP );



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