DELETED table

  • Hello,

    I am using a delete trigger to keep a track of records getting deleted from one of my application tables. I want to know, in which database does SQL Server creates the DELETED table??

    Thanks,

    Nisha

  • they live in memory for the scope of the transaction, they are not created in a database

  • It's materialised from the row version store, so it will be in memory, spill to TempDB if necessary.

    Where it is is not important though, it is just referenced by the name 'deleted' within a trigger.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • In the Creation table we can create a trigger on table.then easily we will know

  • Div Goud (3/27/2012)


    In the Creation table we can create a trigger on table.then easily we will know

    What??

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

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