Ver Mensaje Individual
  #1 (permalink)  
Antiguo 16/07/2013, 10:59
Avatar de guardarmicorreo
guardarmicorreo
 
Fecha de Ingreso: noviembre-2012
Ubicación: Córdoba
Mensajes: 1.153
Antigüedad: 11 años, 6 meses
Puntos: 84
establecer cotejamiento con create table

estoy creando una tabla mediante consola de phpmyadmin con el siguiente comando

Código MySQL:
Ver original
  1. use pruebas ##linea 1
  2.  
  3. create table tabla2( ##linea 3
  4.  
  5. par1 int (11) unsigned not null auto_increment, ##linea 5
  6.  
  7. par2 text (1000) not null character set latin1_spanish_ci, ##linea 7
  8.  
  9. primary key (par1) ##linea 9
  10.  
  11. )engine = innodb; ##linea 11
intento establecer el cotejamiento en latin1_spanish_ci pero me arroja el siguiente error que no comprendo, ¿alguien puede ayudarme?

Cita:
#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 'create table tabla2( par1 int (11) unsigned not null auto_increment, par2 ' at line 3
gracias!