using interval partitioning in mysql -
i'm trying learn mysql
knowledge learn microsoft sql
, oracle
. i'm trying use interval partitioning on table i'm not seeing solution error i'm having.
create table telmar_php.call_log ( log_id int not null, sender int, reciever varchar(30) not null, call_duration timestamp, call_start timestamp, call_end timestamp, primary key (log_id), foreign key(sender) references number_assigned(sender) ) partition range (call_duration) //this error line interval(numtodsinterval(1, 'hour')) (partition "2015-03-15 00:00:00" values less (to_date ('2015-03-16 00', 'yyyy-mm-dd hh24', 'nls_calendar=gregorian')));
that's code can't use interval partitioning in mysql?
unlike oracle, mysql not support interval partitioning. have explicitly define each partition.
Comments
Post a Comment