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
Author
Message
Posted Monday, March 22, 2010 1:32 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Wednesday, April 02, 2014 11:55 AM
Points: 103, Visits: 440
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


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Thursday, April 17, 2014 7:48 AM
Points: 1,533, Visits: 7,916
Duplicate post - please reply to:

http://www.sqlservercentral.com/Forums/Topic887195-392-1.aspx


BrainDonor
Linkedin
Blog Site
Post #887204
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse