SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 database set
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pnpsql
Posting Yak Master

India
246 Posts

Posted - 01/03/2013 :  05:15:54  Show Profile  Reply with Quote
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
Flowing Fount of Yak Knowledge

India
2217 Posts

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

--
Chandu
Go to Top of Page

pnpsql
Posting Yak Master

India
246 Posts

Posted - 01/03/2013 :  05:31:11  Show Profile  Reply with Quote
no i am analyzing wrong data updation issues

challenge everything
Go to Top of Page

nigelrivett
Flowing Fount of Yak Knowledge

United Kingdom
3383 Posts

Posted - 01/03/2013 :  05:36:32  Show Profile  Visit nigelrivett's Homepage  Reply with Quote
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

India
52317 Posts

Posted - 01/03/2013 :  06:19:05  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000