in**@daten-host.de wrote:
hi all,
how do I insert "VARCHAR FOR BIT DATA" via jdbc?
I like to create from an ResaultSet (from a table) Insert-Statements.
You can use the "setBinaryStream" method of the PreparedStatement
class/interface or the "setBytes" method. Alternatively, convert the
binary data to its hex representation and use:
x'...'
in the SQL statement where the ... is the string with the hex
representation.
--
Knut Stolze
DB2 Information Integration Development
IBM Germany