Error creating MySQL table -


I get an error when creating the following table:

  create tab event (id VARCHAR (0), Location VARCHAR (2) No, zero primary, primary title (id), title VARCHAR (100), title start, date, zero, expiration date, description, text, url VARCHAR (200), website VARCHAR 200) Foreign key (location) reference location (ID));  

The error I get is:

  # 1064 - There is an error in your SQL syntax; To use 'nearby' on line 9, check the manual related to your message SQL Server version for the correct syntax I know that this error does with incompatibilities with syntax and MySQL version. Running, but I have checked every line and the syntax is correct as per the documentation. Am I missing something?  

Thank you in advance for all your answers.

Try changing semicolon on line:

  Location VARCHAR (32 ) Naul;  

with a comma


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -