Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 database set

Author  Topic 

pnpsql
Posting Yak Master

246 Posts

Posted - 2013-01-03 : 05:15:54
there are 5 databases used in my application
my task is to analyze issues , every month end client send me the prod cut and i need to analyze the issues related to data.

now i want some time to compare the result of my fix on diffrent set of data like one is on nov monthe end data and other on dec month end data

how do i manage the same on 1 server.

challenge everything

bandi
Master Smack Fu Yak Hacker

2242 Posts

Posted - 2013-01-03 : 05:29:19
Means you are analyzing performance issues... right?
If yes, use SQL Profiler

--
Chandu
Go to Top of Page

pnpsql
Posting Yak Master

246 Posts

Posted - 2013-01-03 : 05:31:11
no i am analyzing wrong data updation issues

challenge everything
Go to Top of Page

nigelrivett
Master Smack Fu Yak Hacker

3385 Posts

Posted - 2013-01-03 : 05:36:32
You could update the data in a transaction and run the select in the same transaction then roll it back.
Then you can look at the affect of your updates before commiting the changes.

It will lock the tables until the rollback but you would probably want to do that anyway.


==========================================
Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-01-03 : 06:19:05
sounds like a kind of auditing to me. If yes, you can use Change Data Capture or use triggers to capture audit info

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -