Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How long will a SQL connection last?
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01102644
Message ID:
01102967
Vues:
18
>>>Since I'm the DBA, that won't happen, but good suggestion. :-) I'm looking at the VFP help... how does one check the connection to see if it is still valid?
>>
>>In times past, the only way to do it was to send a simple select (like SELECT 1+1) to the server and trap the error if it occurs. I have code for a custom class that handles this on my ancient whitepaper on the EPS site (http://www.eps-cs.com/pdf/whitepaper_migrating.pdf).
>>
>>I don't recall if VFP 9 has a PEM to do this or not, and unfortunately I don't have it loaded here at the office.
>
>Thanks.
>
>Could I link to that URL from here? http://fox.wikis.com/wc.dll?Wiki~VFPSQL-TSQL-Mapping

No problemo.
Dan LeClair
www.cyberwombat.com
SET RANT ON - The Wombat Blog

Life isn’t a morality contest and purity makes a poor shield. - J. Peter Mulhern
Disclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform