MySQL Forums
Forum List  »  Spanish

Re: ERROR 1064 AL CREAR UNA TABLA
Posted by: Jesús Uzcanga
Date: December 11, 2013 09:02AM

Angel.

Este problema no es de Mysql, es un problema de sintaxis (más bien descuido).

Solo tienes un paréntesis de más. Esto puedes evitarlo utilizando algún editor de texto como Notepad++ que te indica la correspondencia de cada paréntesis con su contraparte.


Tu error está en

REFERENCES pais (id_pais))

Debe eliminar ese último paréntesis de ahí.

___________________________
Ing. Jesús Alfredo Uzcanga
Twitter: @JesusUzcanga

We learn the 20% of what we HEAR,
the 50% of what we SEE,
the 80% of what we DO and
the 95% of what we TEACH.

____________________________________________________________
https://www.linkedin.com/in/jauzcanga/

Options: ReplyQuote


Subject
Views
Written By
Posted
4319
December 11, 2013 06:12AM
Re: ERROR 1064 AL CREAR UNA TABLA
1525
December 11, 2013 09:02AM


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.