On 2013-04-21 10:24, Martin Schreiber wrote: >> > Or a bug in FCL SQLDB because of possible field value truncation.
No, I fully agree with FPC devs that TFieldDef.Size should return exactly what the DDL scripts defined (eg: "create table MyTest( mystringfield varchar(10) )". SqlDB, DOA (Direct Oracle Access), IBX, dbExpress, FBLib, UIB etc all work exactly the same in this regard. tiOPF's unit tests prove this. It is just Zeos that seems broken. If Zeos wants to differentiate between field "character size" and "actual byte size requirement for storage", then they should introduce a new TFieldDef property (eg: .ByteSize) or something. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

