Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. with SeqNumTbl AS (
  2. select 1 AS SeqNum
  3. union ALL
  4. select SeqNum + 1
  5. from SeqNumTbl
  6. where SeqNum < 100
  7. )
  8.  
  9. select SeqNum
  10. from SeqNumTbl;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement