Rollback

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Michael Groves
    New Member
    • Feb 2012
    • 1

    Rollback

    Would it be bad practice/poor on CPU to routinely use a rollback when there isnt actually an error? So insert data into the database, use the data to process information, then rollback the changes.
  • NeoPa
    Recognized Expert Moderator MVP
    • Oct 2006
    • 32656

    #2
    I would say so.

    It would make more sense to design a table specifically for your usage, then delete the records afterwards when they are no longer required. The table remains for future use, but not the records.

    Comment

    • ck9663
      Recognized Expert Specialist
      • Jun 2007
      • 2878

      #3
      Or just setup a dev environment for that sort of thing...


      ~~ CK

      Comment

      • Rabbit
        Recognized Expert MVP
        • Jan 2007
        • 12517

        #4
        Or use a table variable. It all depends on what you're actually trying to do.

        Comment

        Working...