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 3669766
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T02:16:59+00:00 2026-05-19T02:16:59+00:00

I had asked earlier in SO, how to wrap the multiple column in single

  • 0

I had asked earlier in SO, how to wrap the multiple column in single column, regarding the same, but i picked up another approach and done that part. Now the requirement has been slightly changed and become, if any of the field in table is update then the query or trigger will be able to detect – on what table has and what columns.

Update

For example I have table tblAddress having column Address, WorkPhone, CellPhone, City, State etc. If a user updates WorkPhone then the query should be able to detect that in table address phone number has been updated and the message will be inserted to another table called tblHistory where tblHistory is mine audit-trail maintaining table and tblAddress is where insert update or delete operation will be performed.

  • 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-19T02:16:59+00:00Added an answer on May 19, 2026 at 2:16 am

    Well, there are two basic patterns you can use:

    1. Store all of the column values in a history table (e.g. tblAddress_History) for each audited table (e.g. tblAddress) when a row in the audited table is updated. Each history table would basically mirror the schema of its corresponding audited table (plus maybe a comment or audit info such as when and by whom the update was made).
    2. Store a separate row for individual columns in a history table (e.g. tblHistory) for all audited tables; when a row is updated you’d need to create a separate row in the history table for each column that is updated. Your history table would then need to include columns to identify the audited table and the updated column.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i had asked earlier about the same kind of question but that was in
Some student asked this on another site, but got no answers. I had a
I had this answer on another post I asked: I believe the VS designer
I had the same question as was asked in this thread , i.e. I
I had asked an earlier question which did not get any replies. Basically I
Earlier I had asked the question: Where (or how) should I define the schema
This question was asked earlier by someone else but never answered: MKAnnotation - Map
I'm re-casting a question I asked earlier now that I have an idea of
This relates to another question I asked earlier today. I built SVN 1.6.2 from
This is a follow-up to another question I asked earlier today. I am creating

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.