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

 EXEC P_ALTERPK 'PK_EB_TASKLISTGROUP_L', 'T_EB_TASKLISTGROUP_L', 'FPKID', '1';

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

 EXEC P_ALTERPK 'PK_EB_TASKLIST_L', 'T_EB_TASKLIST_L', 'FPKID', '1';

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


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