• Gianluca Sartori (2/25/2011)


    Sean Lange (2/25/2011)


    ...there is not a table to log against. This is no different than any other variable type.

    Not true: operations on table variables are logged, but don't participate in transcations.

    Ah yes. I guess I wasn't really thinking about if the changes were actually in the log or not since the end result is that it is not in the transaction. Would only make sense that any data changes would have to be logged. I guess I was trying to over simplify it in my head.

    _______________________________________________________________

    Need help? Help us help you.

    Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

    Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.

    Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
    Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
    Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
    Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/