: : Tom Fury
Den enda dokumentationen över Tommies liv

Inserting automatic timestamps into the database

Category: By Tom Fury

After some search I've found the way to do it:

  1. Open the table in Server Explorer and select the column in which you want to store the automatic timestamp.
  2. Under Column Properties, modify "Default Value or Binding" to hold: (getdate()).
  3. Save, and you're done!

Now everytime you insert a record into the database, the timestamp will be generated for you.

0 comments so far.

Something to say?