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

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

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


 EXEC P_ALTERPK 'PK_FMM_LICENSE_TYPE', 'T_FMM_LICENSE_TYPE', 'FID', '1';

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

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



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