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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Counting records in a row

Status
Not open for further replies.

YoelBenYossef

Programmer
Nov 16, 2005
38
CA
Hi there,
I'm working on a database with legacy data. I want to be able to tell how many records in a row answer a boolean criteria. Is there any way to do that?

Eric
 
Something like this (SQL code) ?
SELECT Count(*)
FROM yourTable
WHERE BooleanCriteria = True

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Actually, the trick is that I need to know how many in order are true ... It's a little rough. I'm using legacy data from an old medical recording machine. I need to know how long an even lasts ...

Thanks
Eric
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top