Fixes #43. unixODBC does not define the SQLWCHAR type to match its requirements (2-byte chars), so I can't rely on it. I've added ODBCCHAR. At this time it is hardcoded to 2-bytes which works for Windows and unixODBC. I need to add a mechanism to override this. Tested on OS X postgres, Ubuntu 14 64-bix postgres, and Windows 7 64-bit SQL Server.
…from VARCHAR 65000 fields.
Thanks to Marc-Antoine Parent.
Sometimes, `git branch` may output in color, which causes the regex search to fail. Specifying --color=never fixes this.
Some drivers have problems with the LEN version, so eliminating use when possible. There is an ODBC GetInfo query to determine if LEN is required. Upon connection, this is cached and LEN is used if this is 'y'. FreeTDS, for example, requires LEN in some cases.