Home All Groups Group Topic Archive Search About

Changed Rows with SqlDependency

Author
19 Oct 2006 10:11 AM
Midi
Hi,

I'm using SqlDependency to get changes from a Sql 2005 Server. Every time
there are changes on the Recordset i get the whole one - but I need and want
only the changed Rows!

Does anyobdy knows a way?

Thanks,

Midi

Author
19 Oct 2006 6:13 PM
William (Bill) Vaughn
This is by design. The SqlDependency simply fires telling you that something
changed in the targeted table--not specifically what changed.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
Between now and Nov. 6th 2006 you can sign up for a substantial discount.
Look for the "Early Bird" discount checkbox on the registration form...
-----------------------------------------------------------------------------------------------------------------------

Show quote
"Midi" <M***@discussions.microsoft.com> wrote in message
news:36F07659-965B-4681-B2C1-E10318210CAB@microsoft.com...
> Hi,
>
> I'm using SqlDependency to get changes from a Sql 2005 Server. Every time
> there are changes on the Recordset i get the whole one - but I need and
> want
> only the changed Rows!
>
> Does anyobdy knows a way?
>
> Thanks,
>
> Midi

AddThis Social Bookmark Button