• SanDroid (4/7/2011)


    Hugo Kornelis (4/7/2011)


    I don't have the time to really dive into this at the moment, and I'm also sitting at a computer that is running SQL Server 2005 only so I can't try - but can you perhaps post some code or other evidence to demonstrate that data in the version store can indeed be in the log file?

    Hugo -

    Why do I need to show something being written to a physical log file to clarify this?

    Are updates to temp tables logged written to a physical log file?

    We all agree that they are logged becuase they can be rolled back on error.

    Trigger updates and inserts are supported by the version store.

    They are also rolled back on an error. I watch this happen all day long.

    So... ?

    Also Hugo... Not certain what you meant about SQL 2005.

    SELECT * from sys.dm_tran_version_store returns rows on every SQL 2005 server I can connect to.

    Again, NONE of that is the data in the version store. That's data in temp tables, et al. Not data in the version store itself. Stop conflating the two.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon