/**Begin D:\PDM\PDM1\SYS_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_INT_DATATYPE_FRM', 'T_INT_DATATYPE_FRM', 'FID', '1';

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


 EXEC P_ALTERPK 'PK_T_INT_DATATYPE_FRM_L', 'T_INT_DATATYPE_FRM_L', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_INT_DATA_L') CREATE INDEX IDX_T_INT_DATA_L ON T_INT_DATATYPE_FRM_L ( FID );


 EXEC P_ALTERPK 'PK_T_INT_WORDTYPE_FRM', 'T_INT_WORDTYPE_FRM', 'FID', '1';

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


 EXEC P_ALTERPK 'PK_T_INT_WORDTYPE_FRM_L', 'T_INT_WORDTYPE_FRM_L', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_INT_WORD_L') CREATE INDEX IDX_T_INT_WORD_L ON T_INT_WORDTYPE_FRM_L ( FID );


 EXEC P_ALTERPK 'PK_T_INT_RSSCOPE', 'T_INT_RSSCOPE', 'FID', '1';

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


 EXEC P_ALTERPK 'PK_T_INT_RSSCOPE_L', 'T_INT_RSSCOPE_L', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_INT_RSSCOPE_L') CREATE INDEX IDX_T_INT_RSSCOPE_L ON T_INT_RSSCOPE_L ( FID );


 EXEC P_ALTERPK 'PK_T_INT_PROCESSOR', 'T_INT_PROCESSOR', 'FID', '1';

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


 EXEC P_ALTERPK 'PK_T_INT_PROCESSOR_L', 'T_INT_PROCESSOR_L', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_INT_PROCESS_L') CREATE INDEX IDX_T_INT_PROCESS_L ON T_INT_PROCESSOR_L ( FID );


 EXEC P_ALTERPK 'PK_T_INT_PROCESSCONF_FRM', 'T_INT_PROCESSCONF_FRM', 'FID', '1';

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


 EXEC P_ALTERPK 'PK_T_INT_PROCESSCONF_FRM_L', 'T_INT_PROCESSCONF_FRM_L', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_INT_PROCONF_L') CREATE INDEX IDX_T_INT_PROCONF_L ON T_INT_PROCESSCONF_FRM_L ( FID );



/**End D:\PDM\PDM1\SYS_constraint.sql **/
