0

I know how to get changes from one table but what I want is to get the changes from all the tables. How can I achieve this?

Gauri K.
  • 79
  • 1
  • 1
  • 10

1 Answers1

0

In order to make your diff operation per table in your you can list all of them using SQL, look:

USE YourDBName
GO 
SELECT *
FROM sys.Tables
GO
Yair Nevet
  • 12,725
  • 14
  • 66
  • 108
  • This is what I have so far: declare synchronization_version bigint SET synchronization_version = CHANGE_TRACKING_CURRENT_VERSION(); select * from changetable(changes layouts, synchronization_version )as ct – Gauri K. Jul 12 '13 at 13:26
  • @GauriK. What do you what to achieve? Do you want to compare your DB tables against other DB tables? – Yair Nevet Jul 12 '13 at 13:37
  • No, I want to see what data is changed – Gauri K. Jul 12 '13 at 13:57