Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Upload to SQLServer
Message
De
05/12/2008 11:07:09
 
 
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:
01365686
Vues:
23
>>>
>>>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?

'Cause I want to learn how to create and use named connections. :)
Or is this a feature that noone uses because its just too much trouble?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform