Ayuda en consulta LIKE
Publicado por Marc (2 intervenciones) el 01/05/2020 17:02:10
Buen día. Por favor alguien podría ayudarme con una consulta.
El problema en con firstName like p_findValue+'%' me muestra un error en el signo +
"+" is not valid at this position, expecting EOF, ';'
1
2
3
4
set p_findValue='marc';
SELECT *
FROM Users
WHERE userName= p_findValue OR firstName like p_findValue+'%' OR email=p_findValue;
"+" is not valid at this position, expecting EOF, ';'
Valora esta pregunta
![Me gusta: Está pregunta es útil y esta clara Me gusta: Está pregunta es útil y esta clara](/img/img.png?11.51)
![NO me gusta: Está pregunta no esta clara o no es útil No me gusta: Está pregunta no esta clara o no es útil](/img/img.png?11.51)
0