Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
SQL
ce
clients
clustering
connect
datamining
datawarehouse
dts
fulltext
jdbcdriver
msde
mseq
newusers
notificationsvcs
odbc
olap
programming
replication
reportingsvcs
security
securitytools
server
setup
sqlxml.viewmapper
tools
xml
  
 
date: Fri, 22 Feb 2008 16:05:45 +1100,    group: microsoft.public.sqlserver.odbc        back       


How to Tell if My ODBC Connection is to a SQL Server?   
What is the usual manner to detect if my ODBC connection (based on a DSN) is 
connected to an instance of SQL Server (including a specific version of SQL 
Server such as 2005), as opposed to other RDBMSes such as Oracle, DB2, etc?

Are we talking SQLGetInfo and SQL_DBMS_NAME, SQL_DBMS_VER?

Can this information be obtained prior to the SQLConnect( ), because some 
ODBC attributes need to be set before the connection is established (eg. 
MARS, PRESERVE_CURSORS)?
date: Fri, 22 Feb 2008 16:05:45 +1100   author:   Kevin Frey

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us