Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/11/2009, 13:30
Seifus
 
Fecha de Ingreso: noviembre-2009
Mensajes: 7
Antigüedad: 14 años, 5 meses
Puntos: 0
Problemas con el CONCAT

Alguien me puede decir por que en mi página PHP la SQL "SELECT matricula, CONCAT_WS( " - ", matricula, marca, modelo ) AS mmm FROM aviones ORDER BY matricula ASC"
me da el siguiente error: 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 '0' at line 1
Siendo que esta misma instruccion SQL no me da ningun error en phpMyAdmin local.

como dato estoy usando PHP 5.2 y MySQL 5.0