/**Begin D:\PDM_UPGRADE\pdm_new\BOS_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_SEC_GRAYGROUP_L', 'T_SEC_GRAYGROUP_L', 'FPKID', '1';

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



/**End D:\PDM_UPGRADE\pdm_new\BOS_constraint.sql **/
