INF: Relationship of the ODBC Driver to INSTCAT.SQLID: Q137636
|
This article discusses when you should run INSTCAT.SQL against your SQL Server to support a Microsoft SQL Server ODBC driver version. Note that this information applies only to the Microsoft SQL Server ODBC Driver; if you are using SQL Server ODBC drivers from other vendors, consult the documentation for those drivers.
Both the SQL Server system catalog stored procedures and the ODBC API
catalog functions address the need of applications to retrieve catalog
information from a database. Because there is a high correlation between
the ODBC catalog functions and the SQL Server system catalog stored
procedures, the Microsoft SQL Server ODBC Driver implements many of the
ODBC API catalog functions as calls to a corresponding SQL Server system
catalog procedure. The driver is therefore dependent on the system catalog
stored procedures in any SQL Server to which it connects.
Each version of the Microsoft SQL Server ODBC Driver is developed in
conjunction with a specific version of SQL Server. The proper operation of
each driver version requires the versions of the system catalog stored
procedures associated with the specific version of SQL Server with which
the driver was developed, or a later version of the procedures. For
example, the 2.00.1912 driver was developed in conjunction with Microsoft
SQL Server version 4.21a, and requires either the versions of the system
catalog stored procedures that were released with SQL Server 4.21a or with
later versions, such as 6.0. The driver will not work properly with older
versions of the catalog stored procedures, such as those in SQL Server
version 4.21.
If a driver attempts to connect to a SQL Server that is running an older
version of the system catalog stored procedures than those required by the
driver, the connection will complete with SQL_SUCCESS_WITH_INFO and a call
to SQLError will return the following message:
SqlState: 01000
pfNative: 0
szErrorMsg: "[Microsoft][ODBC SQL Server Driver]The ODBC
catalog stored procedures installed on server
ab421def are version 02.00.4127; version 06.00.0115
or later is required to ensure proper operation.
Please contact your system administrator."
sp_server_info 500
attribute_id attribute_name attribute_value
--------------------------------------------------
500 SYS_SPROC_VERSION 6.50.193
attribute_id attribute_name attribute_value
--------------------------------------------------
500 SYS_SPROC_VERSION 6.00.120
attribute_id attribute_name attribute_value
--------------------------------------------------
500 SYS_SPROC_VERSION 2.00.4127
ODBC Version SQL Server Version Date of INSTCAT.SQL
------------ ------------------ -------------------
1.02.3231* 4.21 1/26/94
2.00.1912* 4.21a 7/15/94
2.50.0121 6.00.0121 6/7/95
2.50.0126 6.00.0124 (SP 1) 6/7/95
2.65.0201 6.50.0201 4/3/96
cd \sql60\install
isql /Usa /Ppassword /Sservername /iinstcat.sql /oinstcat.rpt
Additional query words: sql6 2.50
Keywords : kbinterop kbsetup SSrvInst
Version : 4.21x 6.0 6.5
Platform : WINDOWS
Issue type :
Last Reviewed: April 13, 1999