MySQL Forums
Forum List  »  Partitioning

Re: PARTITION BY RANGE ,problem for NULL values
Posted by: Mattias Jonsson
Date: January 20, 2011 05:32AM

I would guess that the problem is 'PARTITION p0 VALUES LESS THAN (to_days('0000-00-00'))' since TO_DAYS('0000-00-00') probably returns NULL.

Use 'PARTITION p0 VALUES LESS THAN (0))' instead.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: PARTITION BY RANGE ,problem for NULL values
1891
January 20, 2011 05:32AM


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.