Open Control Panel -  Open BDE administrator - expand ODBC - find your 
datasource - look at the attribute ODBC DRIVER.  This should answer your 
question

-----Original Message-----
From: Nick de Voil [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 09, 2005 12:12 PM
To: SQL
Subject: Re: another topic what database is a datasource


> How can I tell if an odbc datasource is Access or SQL Server?

Again, if you were using JDBC, then
java.sql.DatabaseMetaData.getDatabaseProductName() would probably tell you.

If there is a finite set of possible databases, one really horrible way
would be to wrap a CFTRY around a CFQUERY that you know will only
succeed/fail in one of them.

Nick






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:6:2122
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/6
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:6
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.6
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to