Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 213377
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T18:16:22+00:00 2026-05-11T18:16:22+00:00

One of my database fields in a table is getting modified by some piece

  • 0

One of my database fields in a table is getting modified by some piece of code. I just can’t figure out where!

So, I was wondering if there’s a way I can find out.

I’m using SQL 2008. Can Profiler be used to find out if a particular field is getting updated? How?

What about a Trigger? If using a trigger (eg. on UPDATE) can you determine what code called it? How can the trigger ‘notify me’ of this? Email/file?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T18:16:22+00:00Added an answer on May 11, 2026 at 6:16 pm

    Yes, an “AFTER UPDATE” trigger on that particular table and field might give you some clues as to when and why the field gets changed.

    From Books Online:

    CREATE TRIGGER reminder
    ON Person.Address
    AFTER UPDATE 
    AS 
      IF ( UPDATE (StateProvinceID) OR UPDATE (PostalCode) )
      BEGIN
        RAISERROR (50009, 16, 10)
      END;
    GO
    

    A trigger can execute basically any T-SQL code – if you have database mail set up correctly, it could send you an e-mail, yes. Or it can write an audit entry into another table or something like that.

    EDIT: If you need to find out which statements updated your column, you might be actually better off running a trace on the server, limited to that specific table, and just trace what’s happening there. I don’t think a trigger can give you that information (which code caused the update to happen).

    Marc

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 288k
  • Answers 288k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Well, color inversion could possibly be done as a bitmap… May 13, 2026 at 5:21 pm
  • Editorial Team
    Editorial Team added an answer platform module -- Access to underlying platform’s identifying data >>>… May 13, 2026 at 5:21 pm
  • Editorial Team
    Editorial Team added an answer You need just two simple ifs if you are interested… May 13, 2026 at 5:21 pm

Related Questions

I'm working on putting together a simple POC app using Fluent NHibernate to attempt
I have a question about best practices regarding how one should approach storing complex
I'd like to implement a way to display a list of stored addresses sorted
I'm getting back into .NET development after a couple years and it seems that

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.