Tech Info
Saturday, January 15, 2011
get number of records count in mysql
SELECT COUNT('fieldname') AS numcount FROM tablename;
//Instead of using COUNT(*) it is good i think
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment