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)
 Counter in select statement

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2000-10-22 : 23:53:05
jaimie writes "I want to add a counter to a select statement:

Select var + 1 as counter , type, name
from dbo.tablename

Results:
counter type name
1 cc fred
2 xx barney"
   

- Advertisement -