/**Begin D:\PDM_UPGRADE\PDM1\EB_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_EB_ADJUSTPROJECT', 'T_EB_ADJUSTPROJECT', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_EB_ADJUSTPROJECT_MODEL') 
 CREATE INDEX IDX_EB_ADJUSTPROJECT_MODEL ON T_EB_ADJUSTPROJECT ( FMODEL ,FADJUSTNAME );


 EXEC P_ALTERPK 'PK_T_EB_ADJUSTPROJECT_L', 'T_EB_ADJUSTPROJECT_L', 'FPKID', '1';

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



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