Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connection String for WINDOWS Login?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00509858
Message ID:
00509912
Vues:
20
>>I have the connection string to pass in with a database login. What needs to be changed to use a trusted login ?
>>
>>This has worked in the past:
>>lcConStr = "DRIVER=SQL Server;SERVER=A23339\SCR_TEST;UID=sail;PWD='big daddy'
>>lhX = SQLStringConnect( lcConStr )
>>
>>I want this to work for all users on our network. We are using SQL 2000.
>>
>>TIA
>>
>>__Stephen
>
>Stephen,
>Instead of passing PWD and UID, use TrustedConnection=Yes.
>
>HTH.



Thanks! that was it.

__Stephen
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform