Generating sequence number
Based on the following table A
Data
--------
Dummy1
Dummy2
Dummy3
.
.
DummyN
there is a way to generate sequence number when selecting rows from a table.
something like select sequence() as ID,* from Data
that which will give
ID Data
---------
1 Dummy1
2 Dummy2
3 Dummy3
....
N DummyN
Thanks.
+2
a source to share
2 answers