/**Begin D:\scm_code\dev_scm\dbschema\imc\1.5\main\rim\pdm\20210730\RIM_constraint.sql **/
 EXEC P_ALTERPK 'PK_RIM_INV_WARNING_DETAIL', 'T_RIM_INV_WARNING_DETAIL', 'FID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_RIM_INV_WARNING_DETAIL') CREATE  CLUSTERED INDEX IDX_RIM_INV_WARNING_DETAIL ON T_RIM_INV_WARNING_DETAIL ( FORG ,FWARNING_TYPE );



/**End D:\scm_code\dev_scm\dbschema\imc\1.5\main\rim\pdm\20210730\RIM_constraint.sql **/
