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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T06:46:48+00:00 2026-05-14T06:46:48+00:00

Every place I’ve worked in the past 15 years has had, on almost every

  • 0

Every place I’ve worked in the past 15 years has had, on almost every table they use, the columns of EntryDate and UpdateDate (or some variant). The developers or DBAs all put in in defaults for those columns of “getdate()” in sql server (I’m sure there is an equivalent in MySQL, Oracle, etc), but they don’t ever use an update trigger to update the UpdateDate column.

Is there something terribly wrong with Triggers? Am I missing a reason why such a simple addition to a table could eliminate the problems with forgetful developers who (like me) sometimes forget to put in the UpdateDate in their update statements?

The same could be said, possibly, of 2 other related columns EntryUser and UpdateUser — if you give every user a certain login into the DB, then you could use triggers to take care of these 2 columns, too.

What am I missing?

  • 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-14T06:46:49+00:00Added an answer on May 14, 2026 at 6:46 am

    Trigger are no differnt from other code, there are good triggers and porly written ones. The poorly written ones cause problems in both performance and data quality. Because so few people writing the triggers have understood how to write them correctly, triggers have gotten a bad reputation since so many of them are bad.

    Developers also tend to forget about triggers and then get frustrated when they can’t figure out why something they think is strange (but which is really the designed action) is happening. It is not the trigger’s fault when the developers aren’t competent to troubleshoot data issues.

    For updated date, it is short-sighted at best not to populate with a trigger. Data is changed from more than the application, if you need the updated date, the trigger is the appropriate place for it. Unfortunately in today’s world, the great God of “easy to maintain” is crippling many of our systems from both a performance and a data quality perspective.

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

Sidebar

Related Questions

Every place I have looked all I can find is how to read a
Since I started programming, I have read in every place to avoid wasteful branches
I want to place a music player at the homepage (even maybe every page
I guess there must be an auto reindex every time a delete takes place.
I have a Magento shop and I want to place a banner after every
Should I place every class in separate file? Even those short helper classes that
I'm working on a component that is placed on every form of my project.
This is the only place I've ever seen and , or and not listed
I just found out that every time onclick event for my <button> placed inside
When you study relational theory foreign keys are mandatory. But in practice, in every

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.