I have a table which has a BLOB field, this field is used to store xml files, now I want to find a way to load the information back to xml files (FileSystems).
Asked
Active
Viewed 489 times
1 Answers
3
First you select your data:
select xmlfile from myTable
When accessing it you simply cast the field to be a TBlobField:
TBlobField(ADOQuery.FieldByName('XmlFile')).SaveToFile(myFileName);
Here I just used a AdoQuery as TDataset, but it can be anything else.
fantaghirocco
- 4,584
- 6
- 36
- 47
Jens Borrisholt
- 5,893
- 1
- 27
- 61