I want to monitor a table continuously to see whether its updating or not if its updated i want too know how many rows it update and i wan to store them in a table
time updated, no of rows
Do you want to store the actual data for the rows that are updated or do you just want to store the number of rows that got updated and when? Either way, the use of a well written, set-based trigger will do the job quite nicely.
is pronounced ree-bar and is a Modenism for R
First step towards the paradigm shift of writing Set Based code: Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
Although they tell us that they want it real bad, our primary goal is to ensure that we dont actually give it to them that way.
Although change is inevitable, change for the better is usually not.
Just because you can do something in PowerShell, doesnt mean you should. Helpful Links:
How to post code problemsHow to post performance problemsForum FAQs