MySQL Forums
Forum List  »  Stored Procedures

Re: Error Code: 1064
Posted by: Rick James
Date: May 24, 2014 02:27PM

It's pointing to "public", but probably "authorization public" is the problem. See the syntax:
http://dev.mysql.com/doc/refman/5.6/en/create-database.html

There is a YEAR datatype.
Use CHAR instead of VARCHAR for variable length fields such as names.
15 is to short for some names.
Suggest you say PRIMARY KEY, not simply UNIQUE, for Student_No.

Options: ReplyQuote


Subject
Views
Written By
Posted
2418
May 21, 2014 06:17AM
Re: Error Code: 1064
1108
May 24, 2014 02:27PM
985
May 24, 2014 08:49PM
1024
May 25, 2014 12:07PM
873
May 25, 2014 07:38PM


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.