Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When open and close connection?
Message
From
13/04/2005 12:29:25
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01004153
Message ID:
01004221
Views:
15
It actually depends on your needs. Establishing a connection is expensive.


>Hi everybody,
>
>I have a theoretical question. If we're working with SQL Server, what is the commonly-used practice: open connection at the beginning of the application and close it at the end or open and close only when sending requests to the server?
>
>I have this question for VFP-SQL Server applications and for .NET applications.
>
>(I'm going to cross-post in .NET forum).
>
>Thanks a lot in advance.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform