General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Connections to SQL Server
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only