Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Upload to SQLServer
Message
 
 
À
04/12/2008 17:50:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01365523
Message ID:
01365568
Vues:
21
>>
>>If the SQL Server Express is installed to your computer and you are the administrator of that computer you can use Windows Authentication instead of SQL Server one.
>>Also, keep in mind that default installation of SQL Server Express create a named instance "SQLEXPRESS". So, what happens with this:
>>
>>lnHandle = SQLSTRINGCONNECT("Driver=SQL Server;Server=.\SQLEXPRESS;DataBase=TheNameOfTheDB;Trusted_Connection=yes;")
>>IF lnHandle < 0
>>   AERROR(laError)
>>   messagebox(laError[1,2]) 
>>ENDIF
>>
>This works. Thanks.
>Is there a way to turn this into a named connection?

Why would you want to do that?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform