Inserting a hexadecimal string in a RAW(12)

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
mbrekhof

Inserting a hexadecimal string in a RAW(12)

Post by mbrekhof » Thu 06 Oct 2005 09:21

I've got a table which has a field with the following definition: FLD1 RAW(12). Delphi (2005 using the latest ODAC version) sees the field as a TVarBytes field. I can read it ok using AsString.

However when I try to insert a record I get the error 'ORA-00932 receiving a NUMBER expecting BINARY' Any ideas howto fill the field?

tia,
Martin

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Tue 11 Oct 2005 07:03

We couldn't reproduce your problem, please specify your ODAC and Oracle client/server versions. Also send us small demo project that demonstrates your problem and include scripts to create server objects.

Post Reply