MySQL Forums
Forum List  »  Newbie

Re: count rows in a partition
Posted by: Keith Larson
Date: May 15, 2013 12:52AM

I figured it would be nice to create an example in case others ask this later.
http://anothermysqldba.blogspot.com/2013/05/mysql-count-and-select-from-partition.html

You almost had it though:
SELECT COUNT(*) FROM log_01 PARTITION (p1);

Just trying to help....

http://anothermysqldba.blogspot.com

Options: ReplyQuote


Subject
Written By
Posted
Re: count rows in a partition
May 15, 2013 12:52AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.