Created
February 3, 2012 18:38
-
-
Save terrancesnyder/1731650 to your computer and use it in GitHub Desktop.
oracle generate numeric range
This file contains hidden or 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 shard | |
FROM (select 0 shard from dual) shards | |
MODEL | |
DIMENSION BY (shard) | |
MEASURES (shard v) | |
RULES UPSERT | |
(v[for shard from 0 to 100 increment 1] = 1) | |
order by 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment