Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Record count

Status
Not open for further replies.

justynb

Programmer
Joined
Feb 14, 2001
Messages
4
Location
GB
I have created a stored procedure called pCountMail which returns me a count of the number of matching records:

CREATE PROCEDURE pCountMail @InboxID numeric(9) AS
SELECT COUNT (*) FROM scmessage where categoryid = @InboxID

This procedure works fine when I run it in Query Analyzer. I can't work out how I request this count from my ASP page so I can output the value to the bowser?

TIA

Justyn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top