Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. SQL Server timestamp

SQL Server timestamp

Scheduled Pinned Locked Moved Database
csharpdatabasesql-serversysadminhelp
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    miceisland
    wrote on last edited by
    #1

    Hi Guys and Gals, Your help is needed, is there any way to see when (date/time) is the specific record inserted or updated in sql server? Many Thanks. Stephen --------------------- www.islasolutions.net

    S 1 Reply Last reply
    0
    • M miceisland

      Hi Guys and Gals, Your help is needed, is there any way to see when (date/time) is the specific record inserted or updated in sql server? Many Thanks. Stephen --------------------- www.islasolutions.net

      S Offline
      S Offline
      sathish s
      wrote on last edited by
      #2

      No. To acheive this, You need to include modifieddate, createddate columns manually in all your tables and update them.

      M 1 Reply Last reply
      0
      • S sathish s

        No. To acheive this, You need to include modifieddate, createddate columns manually in all your tables and update them.

        M Offline
        M Offline
        miceisland
        wrote on last edited by
        #3

        how about the transaction log, is sql server store info in this log? --------------------- www.islasolutions.net

        S F 2 Replies Last reply
        0
        • M miceisland

          how about the transaction log, is sql server store info in this log? --------------------- www.islasolutions.net

          S Offline
          S Offline
          sathish s
          wrote on last edited by
          #4

          Not sure of that. Let's see, if some one could answer this..

          1 Reply Last reply
          0
          • M miceisland

            how about the transaction log, is sql server store info in this log? --------------------- www.islasolutions.net

            F Offline
            F Offline
            Felipe Dalorzo
            wrote on last edited by
            #5

            How about using a trigger? of course you will need to have a column to store the value but I bet that's easiest/simplest way.. Greetings, :->

            M 1 Reply Last reply
            0
            • F Felipe Dalorzo

              How about using a trigger? of course you will need to have a column to store the value but I bet that's easiest/simplest way.. Greetings, :->

              M Offline
              M Offline
              miceisland
              wrote on last edited by
              #6

              Thanks, actually planning to implement this in future, but for now i just want to check, if possible to can see the date of my previous records when it was inserted or updated, :sigh: think theres no other way then. many thanks to all the response :). Regards, Stephen --------------------- www.islasolutions.net

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups