skip to main
|
skip to sidebar
Oracle Juggernath
Showing posts with label
sequece numbers
.
Show all posts
Showing posts with label
sequece numbers
.
Show all posts
Saturday, August 20, 2011
oracle connect by rownum
Generation of sequence numbers using connect by stmt.
Here is the SQL.
select rownum from dual connect by rownum < 10;
Output
======
1
2
3
4
5
6
7
8
9
Older Posts
Home
Subscribe to:
Posts (Atom)
About Me
Seshagiri Dama
I have been working as PL/SQL developer since 2005. I am passionate about oracle performance tuning. I am Oacle 10g DBA certified associate.
View my complete profile
Blog Archive
▼
2012
(19)
▼
September
(1)
Useful real time sql snippets
►
August
(4)
►
February
(14)
►
2011
(8)
►
September
(4)
►
August
(4)
►
2009
(6)
►
June
(3)
►
May
(3)