Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with SQLEXEC
Message
 
 
À
23/03/2005 03:58:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
00998336
Message ID:
00998478
Vues:
36
Nicholas,

Two things..

1) if you are using trusted connections you do not need to put UID and PWD into the connect string.

2) you seriously should change the sa password to something a bit more secure

>qhandle = SQLSTRINGCONNECT(;
> 'driver=SQL server;' + ;
> 'Server=(local);' +;
> 'database=master;' + ;
> 'uid=SA;' + ;
> 'pwd=SA;' + ;
> 'trusted_connection=YES')
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform