ASP command

M

Mickael JOUVIN

Hello,
I would like to know what is the ASP command which returns the number of
record after a SQL request ?
Regards,

Mickaël.
 
D

Dan Rogers

I believe the response object has a recordcount property on it.


--------------------
 
S

Scott M.

An ADO RecordSet has a RecordCount property. The Response object does not
since the Response object has nothing to do with data returned from a
database.

RecordCount however, is classic ADO, not ADO.NET and RecordCount returns
however many records there are in a RecordSet and not necessarially how many
records were affected by executing a command.
 
D

Dan Rogers

Ahh, yes. My bad. It's been a while since I had to do that... this being
the WS forum and all.

--------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top