Subject Re: how to best use GUIDs in Firebird tables
Author meyer.design48
--- In, Dimitry Sibiryakov <sd@...> wrote:
> 15.06.2010 15:43, meyer.design48 wrote:
> > Clearly not what I need, however, as I mentioned packing to OCTETS, and StringToGUID and its counterpart work with WideStrings.
> OCTETS is just pure bytes. StringToGUID exactly transform string
> representation of GUID into pure bytes.
> --
> SY, SD.
> Disclaimer: Information in this message express my own opinion and
> knowledge and cannot be treated as an official IBPhoenix statement.

I need to assign the GUID to a field defined as OCTETS in Firebird. The GUID assignment to the field using AsBytes does not work. Copying the GUID into an array of byte and then assigning the array of byte also does not work. What am I missing?