Ice, if you just want the counts, no verbiage, here's your solution:
-- this version returns only members having BOTH active AND inactive posts listed:
select M.*,count(PA.*) as ActiveCount, COUNT(PI.*) AS InactiveCount
from Members M
inner join posts PA on M.memberid=PA.memberid and...
I have seen the same errmsg(without the following 5) from a lazy server that won't pick up the phone on the first or second ring.
If you are using ADO, before you open the connection you can set the ConnectionTimeout property to an integer value in seconds: mycxn.ConnectionTimeout = 10
Maybe...
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.