SQL -Count rows
Hello, I need some help with some code.
I want to count the rows that equals a specific steamId. This is what I've tried : Code:
formatex(szTemp,charsmax(szTemp),"SELECT * FROM `log` WHERE Player = '%s'", szSteamId)Code:
new asdfAnother idea how to solve this is to return the value of this string Code:
SELECT COUNT(Player) FROM log WHERE Player = 'STEAM_0:0:19289143'But what I want is a variable with the number of rows, a specific steamid appears in. |
Re: SQL -Count rows
So use the query with Count and read the value. I don't get the question
|
Re: SQL -Count rows
Quote:
|
| All times are GMT -4. The time now is 19:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.