how to find out how many records were inserted into a table

  • Hello,

    I was asked today if AFTER THE FACT, could i tell how many records were inserted into a particular table. I have looked at the various dmv's but i don't see what would tell me that.. the default trace does not track inserts from what i know and i didn't have profiler running at the time. is there anyway to do this after it has happened?

    Thank you so much!

    Juanita 😎

  • Hi Juanita,

    Does your table have any datetime columns that track when records have been created?

  • Hello,

    Unfortunately it has 3 fields and none of them are date fields to help determine when added

    juanita

  • If you have a backup from last night you could restore it to a separate server/database and compare the rows...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • good idea ! thank you !

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply