The information in this article applies to:
BUG #: 48147 (SQLBUG_70) SYMPTOMSYou may get the following error message when you run a parameterized query against a SQL Server 7.0 database using the 3.70 driver:
CAUSEThe SQL ODBC driver uses a default value of 38 for the precision value if the application specifies SQL_DEFAULT for the precision when binding a decimal parameter. However, the default decimal precision on the server is 28. WORKAROUNDStart SQL Server with a -P38 parameter to set the default server precision to 38. STATUSMicrosoft has confirmed this to be a problem in SQL Server version 7.0. Additional query words:
Keywords : kbODBC odbcSQL kbGrpMDAC kbGrpODBC |
Last Reviewed: October 2, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |