/**Begin D:\PDM\PDM_UPGRADE\pdm1\BCM_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_BCM_LGMDDATA', 'T_BCM_LGMDDATA', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BCM_LGMDDATA_SSID') CREATE INDEX IDX_BCM_LGMDDATA_SSID ON T_BCM_LGMDDATA ( FSSID );


 EXEC P_ALTERPK 'PK_T_BCM_DSLGADJDATA', 'T_BCM_DSLGADJDATA', 'FID', '1';

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


 EXEC P_ALTERPK 'PK_T_BCM_DSLGADJDATA_L', 'T_BCM_DSLGADJDATA_L', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BCM_DSLGADJDATA_L') CREATE INDEX IDX_BCM_DSLGADJDATA_L ON T_BCM_DSLGADJDATA_L ( FID );



/**End D:\PDM\PDM_UPGRADE\pdm1\BCM_constraint.sql **/
