Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to tell
Message
 
 
À
08/09/2001 14:56:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Divers
Thread ID:
00554314
Message ID:
00554319
Vues:
14
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform