Subject Re: [firebird-support] how to use the x notation (ex ID=x'049094') inside parameter ?
Author Michael Ludwig
nathanelrick schrieb am 30.03.2012 um 07:49 (-0000):
>
> how to use the x notation (ex ID=x'049094') inside parameter ?

The hexadecimal notation for “binary” strings is for literals.

http://www.firebirdsql.org/file/documentation/reference_manuals/reference_material/html/langrefupd25-hexbinstrings.html

> insert into ... (Field1) Values (?);

This looks like you're using some general purpose language
(like Perl or Java).

> with the parameter x'049094' i receive an error

Does it come with a message?

> probably i can write any char i want (from #0 to #255) inside
> parameter and i don't need the x notation ?

Guess it depends on the type of Field1.

Michael