Hello and thanks for quick reply,

can you give an example how to bind my data using prepared statements. for
example this data who is in diferent rows:

Key     binary_data
----------------------------
1            -3.210000e-4
2            123

and how can I read the binary_data, for example, on the first row.

I am sorry for this basic questions, but I am really new at this.

Thank you,

Kiril

On 24/07/06, Nuno Lucas <[EMAIL PROTECTED]> wrote:

Just "bind" your data using prepared statements.
You can pass null characters  inside.

Another option is to use the X'0011223344' syntax to insert binary
data in hexadecimal format (you can retrieve it in the same format by
using the "quote" function).

Regards,
~Nuno Lucas

On 7/24/06, Kiril Dzolev <[EMAIL PROTECTED]> wrote:
> Hello,
> I just started with SQLite couple a days before so I am new and without
any
> experience.
>
> My database have only two columns. First column for the Key and other
must
> be a binary data (binary data contains some float or integer numbers).
>
> So the question is how to write/read a binary data... I need to read the
> binary data and change it (write binary data). I am using C++ for
executing
> those commands.
>
> Sorry for my English and thanks a lot,
>
> Kiril
>
>

Reply via email to