Hello,

if OCR_DATA is a binary do you have using parametrized queries.
example
fbcomamnd cmd = new fbcommand();
cmd.connection = <yourconnection>;
cmd.commandtext= INSERT INTO OCRCONTENT(FileCode,
OCR_DATA)VALUES(12202,@OCR_DATA);
cmd.parameters.clear();
cmd.parameters.add("@OCR_DATA",<valuebinary>)
cmd.executenonquery();


This example is in c# and pseudo-code..

Regardes
Joaquim Pais



On Thu, Jul 24, 2008 at 10:19 AM, Carlos <[EMAIL PROTECTED]> wrote:

> Hello:
>
>  And that string data I am passing to the insert Query.
>>
>> OCRDATA= "OCRResult";
>> Query= "INSERT INTO OCRCONTENT(FileCode, OCR_DATA)VALUES(12202,+ "'" +
>> OCRDATA + "')";
>
>
> Can you try using parametrized queries ??
>
>
>
>
> --
> Carlos Guzmán Álvarez
> Vigo-Spain
>
> http://carlosga.wordpress.com
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Firebird-net-provider mailing list
> Firebird-net-provider@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
>
>


-- 
Sem mais com os cumprimentos
____________________________
Joaquim Pais


Ao reenviares mensagens apaga os endereços de correio electrónico
nelas incluídos
Usa "Bcc" ou "Cco" em vez de Para.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to