Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connections to SQL Server
Message
 
À
09/03/2010 02:37:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01453365
Message ID:
01453366
Vues:
68
?SQLDISCONNECT(0)
MartinaJ

>Hi
>
>I use the following code to create a connection to my SQL Server:
>
>lnConnectionID = SQLConnect('MyConnectionName', 'MyUserName', 'MyPassword')
>lnReturnCode = SQLExec(lnConnectionID, 'exec Candidate_Insert_Blank ?1000000001, ?@lnCandidateID', '')
>=SQLDisconnect(lnConnectionID)
>
>This code works fine, however, is there any way of being able to explicitly close ALL SQL connections that my current VFP session has open. It's belt and braces more than anything else, i.e. keep resources to a minimum.
>
>Regards
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform