Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Sql sequence

Author  Topic 

jotmenow
Starting Member

12 Posts

Posted - 2007-03-27 : 06:07:36
I have a table with similar dataset as below.

Iam trying to create a sequence for col1 in col2.


col1 col2

Ajay 1
Ajay 2
Ajay 3
Ajay 3
Ajay 3
Ajay 3
Anil 1
Anil 1


So output should be some thing like this

Ajay 1
Ajay 2
Ajay 3
Ajay 4
Ajay 5
Ajay 6
Anil 1
Anil 2

IS there any way i can do this with out a procedure???

THnz a lot in Advance

Ajay


.

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2007-03-27 : 06:42:24
"IS there any way i can do this with out a procedure???"
Yes. Do it in your front end


KH

Go to Top of Page
   

- Advertisement -