From: "andy thomas" <[EMAIL PROTECTED]> > Is there a command I can give in the mysql client to find the number of > rows in a table or, better still, the number of rows in all the tables in > a database?
To return the # of rows in a table: SELECT COUNT(*) FROM table_name; Not sure about all rows from all tables, though. -- denonymous www.coldcircuit.net --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php