What are BLOB subtypes?
Blobs can store infinite amounts of data. They can be used to store text, images, videos, audio, or any other kind of data. Retrieving and writing data to blobs is done with separate functions, so it is usable to have some basic string (CHAR, VARCHAR) operations available for textual blob. Therefore the sub types were added (as blob is a type). The subtypes are:
0 - binary data (image, video, audio, whatever)
1 - text (basic character functions work)
2 - BLR (used for definitions of Firebird procedures, triggers, etc.)
User applications should only use subtypes 0 and 1.
Do you find this FAQ incorrect or incomplete? Please e-mail us what
needs to be changed. To ensure quality, each change is checked by our editors (and often tested on live Firebird
databases), before it enters the main FAQ database. If you desire so, the
changes will be credited to your name. To learn more, visit our add content page.
If you are a commercial tool maker and your tool features a great way to handle
the issue written about in this FAQ, please check out our advertisement page.
All contents are copyright © 2007-2012 FirebirdFAQ.org unless otherwise stated in the text.
The Firebird FAQ