473,387 Members | 1,721 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

SQL_ATTR_CONNECTION_DEAD

I have a cli application, which keeps a db connection during its
lifetime. Can I use SQLGetConnAttr() SQL_ATTR_CONNECTION_DEAD to
verify the current connection state? Basically I want to switch to a
standby idle DB if the task detects broken db connection. Any
comments? Shane
Nov 12 '05 #1
0 1486

This thread has been closed and replies have been disabled. Please start a new discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.