Last active
October 25, 2016 15:00
-
-
Save rayvoelker/e24c39843e8d1c7d73d9ab8536be7292 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
SELECT | |
'p' || r.record_num || 'a' as patron_record_num | |
-- ,* | |
FROM | |
sierra_view.record_metadata as r | |
WHERE | |
r.record_type_code = 'p' | |
AND r.campus_code = '' | |
AND r.deletion_date_gmt is null | |
-- AND r.record_last_updated_gmt >= '2012-01-01 00:00:00' | |
ORDER BY | |
r.record_last_updated_gmt ASC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment