MySQL Forums
Forum List  »  Stored Procedures

Error Code: 1064
Posted by: Nengi Samuel
Date: May 21, 2014 06:17AM

I tried to create a public access view table, but i keep getting error messages. Below is the SQL /DDL code;

CREATE SCHEMA AUTHORIZATION PUBLIC
CREATE TABLE Students
( Surname CHAR(15) NOT NULL,
First_Name CHAR(15),
D_O_B DATE,
Student_No INTEGER NOT NULL UNIQUE,
Dept_No INTEGER,
Year DECIMAL(2) );


Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'public CREATE table STUDENTS ( SURNAME CHAR(15) NOT NULL, FIRST_NAME CHAR(15), D_' at line 1 0.000 sec

Options: ReplyQuote


Subject
Views
Written By
Posted
Error Code: 1064
2694
May 21, 2014 06:17AM
1236
May 24, 2014 02:27PM
1062
May 24, 2014 08:49PM
1101
May 25, 2014 12:07PM
947
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.