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 2008 Forums
 Analysis Server and Reporting Services (2008)
 Auto increment column in report?

Author  Topic 

under2811
Constraint Violating Yak Guru

366 Posts

Posted - 2011-03-02 : 08:45:03
Hi All,
I am creating report. Requirment is that first column of report having auto increment number upto 50. cause we are fetching top 50 records only.

Is there any method to do like this.

T.I.A

ajthepoolman
Constraint Violating Yak Guru

384 Posts

Posted - 2011-03-02 : 11:27:42
Can you just add an IDENTITY field to your resultset?

intID int IDENTITY(1,1)



Hey, it compiles.
Go to Top of Page
   

- Advertisement -