MySQL Forums
Forum List  »  Newbie

Re: optimising a create table as select
Posted by: Daniel Fisher
Date: May 23, 2014 11:34AM

Running this job finaly, thanks for your help.

Just had a horrible thought I don't need acommit in this presumably because of auto commit in mysql


CREATE EVENT e_job_arc
ON SCHEDULE AT CURRENT_TIMESTAMP
DO
Insert into historical_readings_new select * from
historical_readings t2
Where t2.id > 6847513903;
;

Options: ReplyQuote




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.