Ver Mensaje Individual
  #1  
Antiguo 06-03-2007
juanpe juanpe is offline
Miembro
 
Registrado: oct 2004
Posts: 46
Reputación: 0
juanpe Va por buen camino
Registros de un campo blob que contienen un string determinado

Buenos dias, tengo el siguiente problema.

Quiero seleccionar todos los registros de una tabla donde el campo blob contiene un string determinado.

Algo asi:

IBQuery1.SQL.Clear;
ibquery1.SQL.Add('select estudio,comentario from angiolesiones where comentario is not null and comentario = :texto');
ibquery1.ParamByName('texto').AsBlob := Trim(Edit1.text);
ibquery1.Open;
Ibquery1.Last;
ibquery1.First;

'Feature is not suported BLOB and array data types are not supported for compare operation'

Con .AsString (ibquery1.ParamByName('texto').AsString) tampoco funciona, devuelve el mismo error.

¿Existe alguna manera de poder hacer algo asi?
Muchas gracias por vuestro tiempo y ayuda.
Responder Con Cita