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
396
May 01, 2020 08:56AM
160
May 01, 2020 09:19AM
174
May 01, 2020 10:14AM


Sorry, you can't reply to this topic. It has been closed.

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.