/**Begin D:\ProgramFiles\PDM_UPGRADE\pdm1\FMM_constraint.sql **/
 EXEC P_ALTERPK 'PK_FMM_ENGLISH_LEV_L', 'T_FMM_ENGLISH_LEV_L', 'FPKID', '1';

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

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


 EXEC P_ALTERPK 'PK_FMM_ENGLISH_LEV', 'T_FMM_ENGLISH_LEV', 'FID', '1';

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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_FMM_ENGLSH_FCREATETIME') CREATE INDEX IDX_FMM_ENGLSH_FCREATETIME ON T_FMM_ENGLISH_LEV ( FCREATETIME );



/**End D:\ProgramFiles\PDM_UPGRADE\pdm1\FMM_constraint.sql **/
