Subject | Reading BLOB field data |
---|---|
Author | normanmcfarlane |
Post date | 2008-08-13T11:01:22Z |
I am attempting to write code which will generate DDL for table
creation. I am executing a query against the RD$ metadata tables in
order to extract the needed table definition data.
One of the columns returned, RDB$DEFAULT_VALUE is of type Blob. I need
to get at the content of this column, but when I access the data using
the AsString method (IBX Components, Delphi 7), I get back what
amounts to binary data of some sort.
Can anybody point me in the right direction?
Regards,
Norman McFarlane
creation. I am executing a query against the RD$ metadata tables in
order to extract the needed table definition data.
One of the columns returned, RDB$DEFAULT_VALUE is of type Blob. I need
to get at the content of this column, but when I access the data using
the AsString method (IBX Components, Delphi 7), I get back what
amounts to binary data of some sort.
Can anybody point me in the right direction?
Regards,
Norman McFarlane