/**Begin D:\softwaresetup\PDM_UPGRADE\PDM1\FPM_constraint.sql **/


 EXEC P_ALTERPK 'PK_T_FPM_DIMADD', 'T_FPM_DIMADD', 'FID', '1';

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


 EXEC P_ALTERPK 'PK_T_FPM_DIMADD_L', 'T_FPM_DIMADD_L', 'FPKID', '1';

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



/**End D:\softwaresetup\PDM_UPGRADE\PDM1\FPM_constraint.sql **/
