List:General Discussion« Previous MessageNext Message »
From:Mario Lucero Date:December 29 2003 7:22pm
Subject:Use of Parameters
View as plain text  
I need to use this sentence with parameter but I couln't have which is the symbol that is
equal to parameter.

For instance: SELECT * FROM EMPLOYEES WHERE last_name LIKE ? + "%"

? means parameter 

This sentence is right in SQL and also you can use in Access or SQL SERVER but MySql say
there is a mistake near to LIKE.

What can I do?

Mario.



Lic. en Cs. de la Computacion
Mario Lucero

San Luis - Argentina
Sucre 692. Depto D3
TE: 54-2652-421219


---------------------------------
Do You Yahoo!?
Todo lo que quieres saber de Estados Unidos, América Latina y el resto del Mundo.
Visíta Yahoo! Noticias.

Thread
Use of ParametersMario Lucero29 Dec
  • Re: Use of ParametersDan Nelson29 Dec