Last active
August 29, 2015 14:01
-
-
Save maxclark/888de5bd17aee17b3817 to your computer and use it in GitHub Desktop.
Repeat a query inserting a range of numbers
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 orig_route_cos_dest (orig_route_id, priority, class_dest, final) | |
SELECT gs.i, '1', 'bg:14', 't' f | |
FROM generate_series(417, 437) gs(i); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment