Ver Mensaje Individual
  #1 (permalink)  
Antiguo 23/05/2015, 22:38
juanpablo_fc94
 
Fecha de Ingreso: mayo-2013
Mensajes: 5
Antigüedad: 11 años
Puntos: 0
Problema paradeclarar variables en mySQL

Hola todos,

Estoy teniendo un problema declarando variables en mySQL, nunca lo he hecho y al buscar por internet encontré una estructura, sin embargo la herramienta que estoy utilizando me devuelve un error.

Ésto es lo que dice:

Exeption thrown by: DECLARE @operacion varchar. Message: 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 'DECLARE @operacion varchar' at line 1

Alguno podría decirme qué pasa?

Muchas gracias!!:)