?
Solved

Adding a timestamp column to a SQL table.

Posted on 2007-04-04
4
Medium Priority
?
209 Views
Last Modified: 2010-03-20
Is there a recommendation on whether to add a timestamp column on the beginning or end of the table?
Does it matter where the column is added.

0
Comment
Question by:vasudharangapathy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 61

Accepted Solution

by:
mbizup earned 1000 total points
ID: 18850796
>Does it matter where the column is added.
The order doesn't matter.  I keep timestamp, created by and modified by information in the last columns of my table-- just for consistency's sake.
0
 
LVL 1

Assisted Solution

by:CraigDerington
CraigDerington earned 1000 total points
ID: 18960956
I concur, all date/time/user stamps are usually placed in the last few columns of a table.
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I'm trying, I really am. But I've seen so many wrong approaches involving date(time) boundaries I despair about my inability to explain it. I've seen quite a few recently that define a non-leap year as 364 days, or 366 days and the list goes on. …
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question