Ver Mensaje Individual
  #6  
Antiguo 28-07-2006
Avatar de noshy
noshy noshy is offline
Miembro
 
Registrado: jul 2003
Posts: 139
Reputación: 23
noshy Va por buen camino
SQL

Código SQL [-]
Select * from TABLA where campo like '%texto%'

Si lo queres pasar cmo parametro en Delphi


Código Delphi [-]
Var
    vtexto : String;
begin

   vtexto := '%text%'
   Query.SQL.Add('Select * from TABLA where campo like :variable ');
   Params[0].AsString := VTexto;
end;


Espero te sirva
__________________
\_--> NoShY <--_/
Responder Con Cita