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

EXEC p_DropIdx 'IDX_eb_AnalysisChartCode', 'T_EB_ANALYSISCHART';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_EB_ANALYSISCHARTCODE') CREATE INDEX IDX_EB_ANALYSISCHARTCODE ON T_EB_ANALYSISCHART ( FCODE );

 EXEC P_ALTERPK 'PK_T_EB_EXAMINECATEGORY', 'T_EB_EXAMINECATEGORY', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_EB_EXAMINE_CODE') CREATE INDEX IDX_EB_EXAMINE_CODE ON T_EB_EXAMINECATEGORY ( FCODE );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_EB_EXAMINE_NAME') CREATE INDEX IDX_EB_EXAMINE_NAME ON T_EB_EXAMINECATEGORY ( FNAME );



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