Compare data in rollback

Discussion of open issues, suggestions and bugs regarding database management and development tools for SQL Server
Post Reply
The-RUss
Posts: 2
Joined: Wed 01 Apr 2015 22:09

Compare data in rollback

Post by The-RUss » Wed 01 Apr 2015 22:13

I am using dB Forge data compare for some parallel testing. It really is a great tool.

Is it possible to run an exec procedure, compare the data, then roll it back?

alexa

Re: Compare data in rollback

Post by alexa » Thu 02 Apr 2015 11:59

Please note changes are not applied to a database before you run a generated synchronization script or perform synchronization straight into the database.

Also, after performing comparison, when setting up synchronization, you can select the 'Backup' option on the 'Options page' of the Data Synchronization Wizard dialog and 'Use a single transaction' option.

Please also refer to the following material for help http://www.devart.com/dbforge/sql/datac ... -more.html

The-RUss
Posts: 2
Joined: Wed 01 Apr 2015 22:09

Re: Compare data in rollback

Post by The-RUss » Thu 02 Apr 2015 13:50

I am not using this tool to sync data. I am only using it to review data.

I have sp in my software that process data and write the results to a table. I would like to run these sp in rollback and compare the data.

I was curious if you could add a query that would allow this

EXAMPLE:

BEGIN TRAN

EXEC XYZ_sp_Process 1000, TEST, Process, parameters

-- Db Forge captures the results

ROLLBACK TRAN

alexa

Re: Compare data in rollback

Post by alexa » Fri 03 Apr 2015 12:10

Since dbForge reads out data including the unclosed transactions, you can organize this on your own.

Post Reply