MySQL Forums
Forum List  »  Spanish

Ayuda en consulta
Posted by: Marcos Zambrano
Date: May 01, 2020 08:56AM

Buen día. Por favor alguien podría ayudarme con una consulta.
set p_findValue='marc';
SELECT *
FROM Users
WHERE userName= p_findValue OR firstName like p_findValue+'%' OR email=p_findValue;
El problema en con firstName like p_findValue+'%' me muestra un error en el signo +
"+" is not valid at this position, expecting EOF, ';'

Options: ReplyQuote


Subject
Views
Written By
Posted
Ayuda en consulta
565
May 01, 2020 08:56AM
251
May 01, 2020 09:19AM
231
May 01, 2020 10:14AM


Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

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.