Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Count the rows SQL Server 2005 Expand / Collapse
Posted Monday, March 22, 2010 1:32 AM


Group: General Forum Members
Last Login: Today @ 8:55 AM
Points: 105, Visits: 479
I have to write a sp that would give two data sets one with the coumns (metadata) like firstname, lastname, address, phonenumber

and then second result set would return just the count of the rows
count(*) of the above select

please advise
Post #887194
Posted Monday, March 22, 2010 2:11 AM



Group: General Forum Members
Last Login: Today @ 8:27 AM
Points: 1,701, Visits: 9,849
Duplicate post - please reply to:

Steve Hall
Blog Site
Post #887204
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse