Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to tell
Message
 
 
To
08/09/2001 14:56:51
Victor Chigne
Inteliventas
Peru
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Miscellaneous
Thread ID:
00554314
Message ID:
00554319
Views:
12
This message has been marked as the solution to the initial question of the thread.
>How can I check programatically if I have MSDE or MSSQL installed? I want to have 2 differente routnes in my system depending on the host database, but both reply MSSQlserver when I query the ODBC driver. Any help?

You can check for string 'desktop engine' in the global variable @@VERSION.
SELECT CASE CHARINDEX('DESKTOP ENGINE', UPPER(@@VERSION)) 
	When 0 Then 'MSSQL'
	Else 'MSDE '
	END
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform