Re: ADO, VB6, SQL Server: How do I receive database change notification events ?
From: Val Mazur (group51a_at_hotmail.com)
Date: 03/23/04
- Next message: Val Mazur: "Re: VB-ADO-SQL Server : SQL Server performs logins after some queries"
- Previous message: Oscar: "Re: VB-ADO-SQL Server : SQL Server performs logins after some queries"
- In reply to: Massimo Conti: "ADO, VB6, SQL Server: How do I receive database change notification events ?"
- Next in thread: Massimo Conti: "Re: ADO, VB6, SQL Server: How do I receive database change notification events ?"
- Reply: Massimo Conti: "Re: ADO, VB6, SQL Server: How do I receive database change notification events ?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 22 Mar 2004 22:35:10 -0500
Hi Massimo,
No, there is no easy way to implement it. Even if your trigger will fine on a change in a table, this trigger will not fire anything outside of the database and client will not get any notification. Simplest way is to implement triggers, which will set some field in another table, which would indicate changes. Then, from the client side, check this table once in a while
-- Val Mazur Microsoft MVP "Massimo Conti" <mconti@ceia-spa.com> wrote in message news:OvEpUTAEEHA.3080@TK2MSFTNGP10.phx.gbl... Hello, Is it possible to receive database change notification events in VB, using ADO, from SQL Server ? I know SQL Server has triggers able to to this... but how can i binding ADO with Triggers, in order to recieve data change notification events, without polling the table continuously ? Thanks in advance. Massimo Conti.
- Next message: Val Mazur: "Re: VB-ADO-SQL Server : SQL Server performs logins after some queries"
- Previous message: Oscar: "Re: VB-ADO-SQL Server : SQL Server performs logins after some queries"
- In reply to: Massimo Conti: "ADO, VB6, SQL Server: How do I receive database change notification events ?"
- Next in thread: Massimo Conti: "Re: ADO, VB6, SQL Server: How do I receive database change notification events ?"
- Reply: Massimo Conti: "Re: ADO, VB6, SQL Server: How do I receive database change notification events ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|