Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server CE / November 2007

Tip: Looking for answers? Try searching our database.

system table on SDF to query to see if I have a pending change

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Greg J - 27 Nov 2007 19:10 GMT
I am looking for something in the SDF to tell me that I have data that
has changed.

I found the __sysDeletedRows and that is all fine for deleted rows,
but I want to know about inserted/updated rows as well.  The tables I
see do not show me that information.

Any Ideas?

Below is the list of system tables on the SDF that I know about.

select * from __sysDeletedRows
select * from __sysMergeArticles
select * from __sysMergeSubscriptions
select * from __sysRowtrack
select * from __sysTrackedObjects

My guess is sysTrackedObjects or sysRowtrack would give me that info.
sysTrackedObjects I don't understand yet and sysRowtrack is always
empty as far as I can tell.
Erik Ejlskov - 27 Nov 2007 20:10 GMT
Look here for information on SQL Compact system tables:
http://blogs.msdn.com/sqlservercompact/archive/2007/04/18/merge-replication-syst
em-tables.aspx


Signature

Erik Ejlskov Jensen
- see my SQL Compact blog at
http://erikej.blogspot.com

>I am looking for something in the SDF to tell me that I have data that
> has changed.
[quoted text clipped - 16 lines]
> sysTrackedObjects I don't understand yet and sysRowtrack is always
> empty as far as I can tell.
Greg J - 27 Nov 2007 20:37 GMT
Thanks, I see those tables, the only problem I see is that __sysRowTrack
always seems to be empty.  Therefore I'm not sure what it is doing and how it
is tracking that something changed.

> Look here for information on SQL Compact system tables:
> http://blogs.msdn.com/sqlservercompact/archive/2007/04/18/merge-replication-syst
em-tables.aspx

[quoted text clipped - 19 lines]
> > sysTrackedObjects I don't understand yet and sysRowtrack is always
> > empty as far as I can tell.
ErikEJ - 28 Nov 2007 09:50 GMT
How to find this infomation is described here:
http://blogs.msdn.com/sqlservercompact/archive/2007/04/18/howto-pending-changes-
for-a-merge-subscription.aspx

Signature

Erik Ejlskov Jensen - MCTS: Mobile App Dev

> Thanks, I see those tables, the only problem I see is that __sysRowTrack
> always seems to be empty.  Therefore I'm not sure what it is doing and how it
[quoted text clipped - 23 lines]
> > > sysTrackedObjects I don't understand yet and sysRowtrack is always
> > > empty as far as I can tell.
Greg J - 28 Nov 2007 15:07 GMT
Thank you this is exactly what I needed.

> How to find this infomation is described here:
> http://blogs.msdn.com/sqlservercompact/archive/2007/04/18/howto-pending-changes-
for-a-merge-subscription.aspx

[quoted text clipped - 26 lines]
> > > > sysTrackedObjects I don't understand yet and sysRowtrack is always
> > > > empty as far as I can tell.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.