MySQL Forums
Forum List  »  Partitioning

Re: Partition on day of year
Posted by: Brian Wilson
Date: March 02, 2011 10:00AM

A typical query will look like:

select * from test_jobs2 where job_date_time between '2011-01-01' and '2011-01-01 23:59:59' and printer_name like '%HP%' and username like '%steve%' order by job_date_time limit 0,25;

Options: ReplyQuote


Subject
Views
Written By
Posted
7244
February 28, 2011 07:18PM
2413
February 28, 2011 08:43PM
3600
March 01, 2011 12:53AM
2142
March 01, 2011 10:33PM
Re: Partition on day of year
2015
March 02, 2011 10:00AM
1656
March 02, 2011 11:16AM
1769
March 03, 2011 09:47PM
2209
March 04, 2011 08:58AM
1765
March 04, 2011 10:45AM
2194
March 04, 2011 08:23PM
1462
March 02, 2011 02:58AM


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.