SQL_ATTR_CONNECTION_DEAD

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Shane

    SQL_ATTR_CONNECTION_DEAD

    I have a cli application, which keeps a db connection during its
    lifetime. Can I use SQLGetConnAttr( ) SQL_ATTR_CONNEC TION_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
Working...