26.07.2011 16:00, Alessandro Fiorino wrote: > Can someone point me to where can I found in the source how a DECIMAL > field is encoded when saved on disk ? > I need it to manually recover a broken database.
It depends on its declared precision and database dialect. Also, you're unlikely to detect some particular field on disk, as the record is RLE compressed as a whole, so you'd need to find the record and unpack it before accessing fields. Dmitry ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel