Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to tell
Message
De
08/09/2001 16:37:47
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Divers
Thread ID:
00554314
Message ID:
00554321
Vues:
15
It works in 7 and 2000, MSDE 1 and 8. Thank you.
>>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
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform