MySQL Forums
Forum List  »  Newbie

Re: mysql error 1064
Posted by: Rick James
Date: February 14, 2014 08:26PM

> create table log_book (fdate date, actype varchar2(16), acid varchar(16), nlandings number, nhours number);

NUMBER -> INT, FLOAT, DECIMAL(11,2), etc

> insert into log_book values (TO_DATE('08/12/1973','MM/dd/YYYY'),'C150','N5787G',1,1.8);

TO_DATE -> STR_TO_DATE, with different arguments.

I suspect the rest of your SQL will have errors. Keep the online manual open: dev.mysql.com

Options: ReplyQuote


Subject
Written By
Posted
February 12, 2014 10:56PM
February 13, 2014 07:34AM
February 13, 2014 03:52PM
February 13, 2014 04:33PM
February 13, 2014 06:32PM
February 13, 2014 11:42PM
Re: mysql error 1064
February 14, 2014 08:26PM


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.