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.
| Author |
Topic |
|
sunsanvin
Master Smack Fu Yak Hacker
1274 Posts |
Posted - 2008-08-01 : 01:54:22
|
| Dear All,is there any tool or option to see the result of the update or delete query at any dash board? are there any tools like that?what exactly i'm expecting is i'd like to see the results on a dash board before it executing in the database. is it possible?ArnavEven you learn 1%, Learn it with 100% confidence. |
|
|
pootle_flump
1064 Posts |
Posted - 2008-08-01 : 03:54:15
|
I'm not quite sure what you mean. Something like this:BEGIN TRAN--open transactionINSERT INTO MyTable--insert dataSELECT 'Some Data'SELECT *--view the data insertedFROM MyTableWHERE MyCol = 'Some Data'--Chose to commit or roll back the transactionROLLBACK TRAN--COMMIT TRAN |
 |
|
|
svicky9
Posting Yak Master
232 Posts |
Posted - 2008-08-01 : 06:28:27
|
| first OptionWhen i do an update i generally take the Database Backup and restore it on test server run the Update on the Test server. If everything seems fine then i update the Live Database. 2nd OptionIf you want to see the results before being updated .. use the instead of Trigger for Updated and check the Inserted and Deleted Tables. Hope this helps to some extentVichttp://vicdba.blogspot.com |
 |
|
|
|
|
|