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)
 Seq No. on SELECT

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-06-11 : 08:21:00
Michael writes "How can I get data with seq. no. from a table.

Like:

There are 10 records in table A :

StaudentName Address
Michael U.K.
Peter USA
... ...
Tom USA


I want to get the result :

Seq No. StaudentName Address
1 Michael U.K.
2 Peter USA
... ...
10 Tom USA

Thanks."
   

- Advertisement -