/**Begin D:\PDM_UPGRADE\PDM1\BCM_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_BCM_EXPORTURLLIST_L', 'T_BCM_EXPORTURLLIST_L', 'FPKID', '1';

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

 EXEC P_ALTERPK 'PK_T_BCM_ADJUSTIMPORT', 'T_BCM_ADJUSTIMPORT', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BCM_ADJUST_ENTRY') CREATE INDEX IDX_BCM_ADJUST_ENTRY ON T_BCM_ADJUSTIMPORT ( FENTRYID );


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