Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BEGIN;
- update config.circ_modifier set code = 'video' where code = 'video-2';
- update config.circ_modifier set code = 'video-ff' where code = 'video-2-ff';
- update config.circ_matrix_matchpoint set circ_modifier = 'video' where circ_modifier in ('video-2');
- update config.circ_matrix_matchpoint set circ_modifier = 'video-ff' where circ_modifier in ('video-2-ff');
- delete from config.circ_matrix_matchpoint where circ_modifier = 'video-0';
- delete from config.circ_matrix_matchpoint where circ_modifier = 'video-0-ff';
- update config.hold_matrix_matchpoint set circ_modifier = 'video' where circ_modifier in ('video-2');
- update config.hold_matrix_matchpoint set circ_modifier = 'video-ff' where circ_modifier in ('video-2-ff');
- delete from config.hold_matrix_matchpoint where circ_modifier = 'video-0';
- delete from config.hold_matrix_matchpoint where circ_modifier = 'video-0-ff';
- update config.circ_limit_set_circ_mod_map set circ_mod = 'video' where circ_mod in ('video-2');
- update config.circ_limit_set_circ_mod_map set circ_mod = 'video-ff' where circ_mod = ('video-2-ff');
- delete from config.circ_limit_set_circ_mod_map where circ_mod = 'video-0';
- delete from config.circ_limit_set_circ_mod_map where circ_mod = 'video-0-ff';
- update acq.distribution_formula_entry set circ_modifier = 'video' where circ_modifier in ('video-0', 'video-2');
- update acq.lineitem_detail set circ_modifier = 'video' where circ_modifier in ('video-0', 'video-2');
- update acq.lineitem_detail set circ_modifier = 'video-ff' where circ_modifier in ('video-0-ff', 'video-2-ff');
- update asset.copy set circ_modifier = 'video' where circ_modifier in ('video-0', 'video-2');
- update asset.copy set circ_modifier = 'video-ff' where circ_modifier in ('video-0-ff', 'video-2-ff');
- delete from config.circ_modifier where code in ('video-0', 'video-0-ff');
- COMMIT;
Advertisement
Add Comment
Please, Sign In to add comment