thanks... this is a little OT for this forum but would anyone know how I would then refer to what is returned in an asp page? Like when I want to refer to a db field I say:
<%=rs("field"%>
Give the count a name and it will part of the fields collection just like any other field, otherwise, it will have some default name which you could lookup in the field collection if you wanted.
select count(*) as cnt
from mytable
where mytable.field = 'something'
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.