September 18, 2009 at 4:18 pm
one specific table field keep changing back to 'C' from 'P'. I have to find out what sproc update the table field.
Is there a way to find out which program did that using Trigger?
September 19, 2009 at 12:01 am
[quote-0Is there a way to find out which program did that using Trigger?[/quote-0]
Add the columns of the following in the main table to avoid the trigger for this particular case,
1)user name by default suser_sname()
2)user_id by default suser_sid()
3)last modification date by default getdate()
Gives you the details of the data modifiers,
The new column not possible in the existing tables then uses the update trigger.
September 24, 2009 at 4:30 pm
Try running profiler with filter in textdata for this table.
MJ
September 25, 2009 at 8:12 am
A server-side trace might be a better way to go than Profiler as Profiler tends to have a larger perfomance impact.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply