/**Begin D:\PDM_UPGRADE\PDM1\BEI_constraint.sql **/

 EXEC P_ALTERPK 'PK_T_BEI_SERVICECFGDEFAULTCA', 'T_BEI_SERVICECFGDEFAULTCA', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BEI_SERVICECFGDEFAULTCA') CREATE INDEX IDX_BEI_SERVICECFGDEFAULTCA ON T_BEI_SERVICECFGDEFAULTCA ( FNUMBER );


 EXEC P_ALTERPK 'PK_T_BEI_SERVICECFGDEFAULTCA_L', 'T_BEI_SERVICECFGDEFAULTCA_L', 'FPKID', '1';

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


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