See time records were inserted











up vote
0
down vote

favorite












I have a table with no time stamp in any of the columns.



With what I have now in the table and without inserting any rows or redoing everything, is there a way to see what time and / or date a record was inserted?










share|improve this question






















  • Short answer: No.
    – dnoeth
    Nov 17 at 21:59










  • okay :( insert 8 more characters so I can send my sad emoji
    – LunchBox
    Nov 17 at 21:59










  • There are ways to parse the log to extract such information -- if the log is available from when the data was inserted.
    – Gordon Linoff
    Nov 17 at 23:07










  • Can you join your table data to any other data that does have a date, and was likely to be created around the same time? I had this recently with a db that didn't record the time a deposit identifier was created but did record when the deposit was made. In most cases these two events would be within minutes of each other so I was able to guess
    – Caius Jard
    Nov 17 at 23:15

















up vote
0
down vote

favorite












I have a table with no time stamp in any of the columns.



With what I have now in the table and without inserting any rows or redoing everything, is there a way to see what time and / or date a record was inserted?










share|improve this question






















  • Short answer: No.
    – dnoeth
    Nov 17 at 21:59










  • okay :( insert 8 more characters so I can send my sad emoji
    – LunchBox
    Nov 17 at 21:59










  • There are ways to parse the log to extract such information -- if the log is available from when the data was inserted.
    – Gordon Linoff
    Nov 17 at 23:07










  • Can you join your table data to any other data that does have a date, and was likely to be created around the same time? I had this recently with a db that didn't record the time a deposit identifier was created but did record when the deposit was made. In most cases these two events would be within minutes of each other so I was able to guess
    – Caius Jard
    Nov 17 at 23:15















up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have a table with no time stamp in any of the columns.



With what I have now in the table and without inserting any rows or redoing everything, is there a way to see what time and / or date a record was inserted?










share|improve this question













I have a table with no time stamp in any of the columns.



With what I have now in the table and without inserting any rows or redoing everything, is there a way to see what time and / or date a record was inserted?







sql sql-server






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 17 at 21:55









LunchBox

594317




594317












  • Short answer: No.
    – dnoeth
    Nov 17 at 21:59










  • okay :( insert 8 more characters so I can send my sad emoji
    – LunchBox
    Nov 17 at 21:59










  • There are ways to parse the log to extract such information -- if the log is available from when the data was inserted.
    – Gordon Linoff
    Nov 17 at 23:07










  • Can you join your table data to any other data that does have a date, and was likely to be created around the same time? I had this recently with a db that didn't record the time a deposit identifier was created but did record when the deposit was made. In most cases these two events would be within minutes of each other so I was able to guess
    – Caius Jard
    Nov 17 at 23:15




















  • Short answer: No.
    – dnoeth
    Nov 17 at 21:59










  • okay :( insert 8 more characters so I can send my sad emoji
    – LunchBox
    Nov 17 at 21:59










  • There are ways to parse the log to extract such information -- if the log is available from when the data was inserted.
    – Gordon Linoff
    Nov 17 at 23:07










  • Can you join your table data to any other data that does have a date, and was likely to be created around the same time? I had this recently with a db that didn't record the time a deposit identifier was created but did record when the deposit was made. In most cases these two events would be within minutes of each other so I was able to guess
    – Caius Jard
    Nov 17 at 23:15


















Short answer: No.
– dnoeth
Nov 17 at 21:59




Short answer: No.
– dnoeth
Nov 17 at 21:59












okay :( insert 8 more characters so I can send my sad emoji
– LunchBox
Nov 17 at 21:59




okay :( insert 8 more characters so I can send my sad emoji
– LunchBox
Nov 17 at 21:59












There are ways to parse the log to extract such information -- if the log is available from when the data was inserted.
– Gordon Linoff
Nov 17 at 23:07




There are ways to parse the log to extract such information -- if the log is available from when the data was inserted.
– Gordon Linoff
Nov 17 at 23:07












Can you join your table data to any other data that does have a date, and was likely to be created around the same time? I had this recently with a db that didn't record the time a deposit identifier was created but did record when the deposit was made. In most cases these two events would be within minutes of each other so I was able to guess
– Caius Jard
Nov 17 at 23:15






Can you join your table data to any other data that does have a date, and was likely to be created around the same time? I had this recently with a db that didn't record the time a deposit identifier was created but did record when the deposit was made. In most cases these two events would be within minutes of each other so I was able to guess
– Caius Jard
Nov 17 at 23:15














1 Answer
1






active

oldest

votes

















up vote
0
down vote













Well, you can create a trigger in this table which when you insert, it will insert another record in another (or update another to count the times that it is inserted) table with the date and all the information that you want.



Creating a trigger which controls the inserted records is explained in another question in stackoverflow, I leave you the link here:



Trigger: How does the inserted table work? How to access its rows?






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














     

    draft saved


    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53355919%2fsee-time-records-were-inserted%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    Well, you can create a trigger in this table which when you insert, it will insert another record in another (or update another to count the times that it is inserted) table with the date and all the information that you want.



    Creating a trigger which controls the inserted records is explained in another question in stackoverflow, I leave you the link here:



    Trigger: How does the inserted table work? How to access its rows?






    share|improve this answer



























      up vote
      0
      down vote













      Well, you can create a trigger in this table which when you insert, it will insert another record in another (or update another to count the times that it is inserted) table with the date and all the information that you want.



      Creating a trigger which controls the inserted records is explained in another question in stackoverflow, I leave you the link here:



      Trigger: How does the inserted table work? How to access its rows?






      share|improve this answer

























        up vote
        0
        down vote










        up vote
        0
        down vote









        Well, you can create a trigger in this table which when you insert, it will insert another record in another (or update another to count the times that it is inserted) table with the date and all the information that you want.



        Creating a trigger which controls the inserted records is explained in another question in stackoverflow, I leave you the link here:



        Trigger: How does the inserted table work? How to access its rows?






        share|improve this answer














        Well, you can create a trigger in this table which when you insert, it will insert another record in another (or update another to count the times that it is inserted) table with the date and all the information that you want.



        Creating a trigger which controls the inserted records is explained in another question in stackoverflow, I leave you the link here:



        Trigger: How does the inserted table work? How to access its rows?







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 18 at 2:45

























        answered Nov 18 at 2:38









        Nikasha Von carstein

        386




        386






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53355919%2fsee-time-records-were-inserted%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            If I really need a card on my start hand, how many mulligans make sense? [duplicate]

            Alcedinidae

            Can an atomic nucleus contain both particles and antiparticles? [duplicate]