Microsoft KB Archive/67329

INF: dbsetopt Won’t Allow Negative Numbers with DBBUFFER

PSS ID Number: Q67329 Article last modified on 12-18-1992

1.10 OS/2

Summary: On pages 139 and 257 of the “Microsoft SQL Server Programmer’s Reference for C” manual for SQL Server version 1.1, it incorrectly states that when the dbsetopt function is called with the DBBUFFER option and a negative number is used as the parameter, the buffer will be set to the default size (currently, 100). Actually, the program will return the following error message indicating that negative numbers are not allowed: DB-LIBRARY error: Invalid or out of range dboption parameter. This is in agreement with page 259 of the same manual, indicating that the valid range for this parameter is 0 (zero) to 32,767. Microsoft has confirmed that this is a documentation error on pages 139 and 257. The DB-LIBRARY (dblib) function dbsetopt with the DBBUFFER option does not accept negative values, and there is no way to reset this option to a system default.

= Additional reference words: 1.10 db-library dblib db-lib =

Copyright Microsoft Corporation 1992.