On May 5, 11:53 am, Michael Lang <[email protected]> wrote: > On my mac, using Actual Technologies' ODBC driver to connect to SQL Server > 2000 MSDE, when fields are not null, but are blank strings, I get nil value > for the fields rather than empty strings. > > However, with unixODBC and FreeTDS, if a field is an empty string, the value > for the field returned by Sequel is empty string. When NULL, the value is > nil. > > I much prefer the latter behavior for consistency's sake. Am I missing a > setting somewhere? or is this a bug in the Actual Technologies driver?
That's definitely a bug in the Actual Technologies driver. Empty strings should not be silently converted to NULL. Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
