Created
May 25, 2017 17:49
-
-
Save sandbergja/2a9c88643ecd0578e9f45c9498db7619 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSERT INTO container.copy_bucket_item (bucket, target_copy) | |
SELECT 1644, id FROM asset.copy | |
WHERE NOT deleted AND call_number IN | |
(SELECT id FROM asset.call_number WHERE label ~ 'RT(4[1-9]|5[0-9]|6[0-7])(\.|\s).*' AND NOT deleted); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment