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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_EB_DGATHERDATA_FID') CREATE INDEX IDX_EB_DGATHERDATA_FID ON T_EB_DATAGATHERDATA ( FEXCUTESCHEME ,FCOLLECTSCHEME ,FMODEL );



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