Bob Beauchemin
3/12/2002 5:01:00 AM
After doing some more experiments today, it appears, at this point, to be
driver-related, although I'm still working to figure out problems. Although
most drivers report 0 ColumnLength for fixed length columns, only some of
them are sending zero-length strings as parameters. Others, such as
DataDirect, are not, and can successfully use OdbcCommandBuilder.
Thanks for looking into this,
Bob Beauchemin
bobb@develop.com
"David Sceppa" <davidsc@online.microsoft.com> wrote in message
news:rbAe0#WyBHA.2624@cpmsftngxa07...
> Bob,
>
> As far as I know, the CommandBuilder only uses the column
> length for character and binary data types. Appendix D states
> that the driver should return the defined or maximum length (in
> characters for character columns, in bytes for binary columns) of
> the column for these data types. If I've missed something in the
> ODBC spec somewhere, please let me know.
>
> David Sceppa
> Microsoft
> This posting is provided "AS IS" with no warranties,
> and confers no rights. You assume all risk for your use.
> © 2002 Microsoft Corporation. All rights reserved.