Re: PARTITION BY RANGE ,problem for NULL values
Mattias Jonsson Wrote:
-------------------------------------------------------
> 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.
Dear
Mr. Jonsson;
PARTITION p0 VALUES LESS THAN (0),
still producing the error
ERROR 1566 (HY000): Not allowed to use NULL value in VALUES LESS THAN
Subject
Views
Written By
Posted
4793
January 19, 2011 11:55PM
5102
January 19, 2011 11:59PM
2608
January 20, 2011 05:32AM
Re: PARTITION BY RANGE ,problem for NULL values
3267
January 20, 2011 06:10AM
2398
January 20, 2011 07:05AM
2723
January 21, 2011 12:54AM
2758
January 23, 2011 12:08PM
1914
January 25, 2011 01:29AM
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.