On Mon, May 21, 2012 at 02:50:02AM -0000, Greg Sabino Mullane wrote: > > > 1. Columns described as SQL_INTEGER will be bound as SQL_C_LONG and > > hence retrieved as a C long and the bound scalar will be set using > > sv_setiv > .. > > 2. You cannot override the bound column type. > > +1, sounds sensible.
It does. Though I suspect people using code that depends on the internal numeric vs string distinction will encounter problems. One example that springs to mind is JSON serialization http://search.cpan.org/~mlehmann/JSON-XS/XS.pm#PERL_-%3E_JSON Tim.