RE: monitoring database
From: joe mamma (joemamma_at_discussions.microsoft.com)
Date: 03/17/05
- Next message: joe mamma: "RE: ADO dates and '0001-01-01'"
- Previous message: Linkas: "How to serialize COM object to SQL Server field using ADO"
- In reply to: scottrm: "monitoring database"
- Next in thread: Val Mazur \(MVP\): "Re: monitoring database"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 17 Mar 2005 07:33:04 -0800
not sure what you are asking here, so let me ask you. . .
What do you mean by 'detect a lost connection' ?
You shouldn't have a connection open except retrieve data or post changes
back. if the connection breaks it throws an exception.
It is a big, yet common, mistake to leave your connections open.
Open your recordset, Disconnect it from the connection, close the connection.
Make changes to your recordset, reopen the connection, reconnect the
recordset and update.
If your design calls for a constant connection, I argue you need to redesign.
- Next message: joe mamma: "RE: ADO dates and '0001-01-01'"
- Previous message: Linkas: "How to serialize COM object to SQL Server field using ADO"
- In reply to: scottrm: "monitoring database"
- Next in thread: Val Mazur \(MVP\): "Re: monitoring database"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|