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

 EXEC P_ALTERPK 'PK_T_BD_SUBELEMENT_ACCOUNT', 'T_BD_SUBELEMENT_ACCOUNT', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BD_SUBELEMENT_ACCOUNT') CREATE INDEX IDX_BD_SUBELEMENT_ACCOUNT ON T_BD_SUBELEMENT_ACCOUNT ( FSUBELEMENTID ,FACCOUNTID );



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