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!

Scoring a MYSQL result

Status
Not open for further replies.
Joined
May 22, 2002
Messages
63
Location
GB
Hi,

Is there a way to score a mysql query result not in how many rows it produces but in how many cells it returns per row that contain data and are not null?

Cheers,

Anders
 
To the best of my knowledge, there is not query you can pass MySQL to get that information.

You can always, of course, issue the query then have some function run through the return, calculating your score.

Want the best answers? Ask the best questions: TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top