Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Transaction Management with SQLServer

Transaction Management with SQLServer

Scheduled Pinned Locked Moved The Lounge
databasehelpquestioncsharpannouncement
6 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tamasan
    wrote on last edited by
    #1

    Hello, I have an problem with my project. The project is written by C#, $ used SQLServer 2005 DB. I also use Web service & Seasar to retrieve A database. And on webservice side, I have to refer to another package that is built to DLL. That package retrieve B database. My problem is when I retrieve B database and update data via dll's function. if it is success, I update A database. But A database cannot update because some error that i cannot control. How can I rollback the data that was updated in B database?

    S P M P 4 Replies Last reply
    0
    • T tamasan

      Hello, I have an problem with my project. The project is written by C#, $ used SQLServer 2005 DB. I also use Web service & Seasar to retrieve A database. And on webservice side, I have to refer to another package that is built to DLL. That package retrieve B database. My problem is when I retrieve B database and update data via dll's function. if it is success, I update A database. But A database cannot update because some error that i cannot control. How can I rollback the data that was updated in B database?

      S Offline
      S Offline
      Super Lloyd
      wrote on last edited by
      #2

      How muchwood would a woodchuck chuck if a woodchuck could chuck wood you might wonder? As much as it could, that's the answer! Just ask any beaver!

      1 Reply Last reply
      0
      • T tamasan

        Hello, I have an problem with my project. The project is written by C#, $ used SQLServer 2005 DB. I also use Web service & Seasar to retrieve A database. And on webservice side, I have to refer to another package that is built to DLL. That package retrieve B database. My problem is when I retrieve B database and update data via dll's function. if it is success, I update A database. But A database cannot update because some error that i cannot control. How can I rollback the data that was updated in B database?

        P Offline
        P Offline
        PIEBALDconsult
        wrote on last edited by
        #3

        By asking in the correct forum.

        1 Reply Last reply
        0
        • T tamasan

          Hello, I have an problem with my project. The project is written by C#, $ used SQLServer 2005 DB. I also use Web service & Seasar to retrieve A database. And on webservice side, I have to refer to another package that is built to DLL. That package retrieve B database. My problem is when I retrieve B database and update data via dll's function. if it is success, I update A database. But A database cannot update because some error that i cannot control. How can I rollback the data that was updated in B database?

          M Offline
          M Offline
          Muammar
          wrote on last edited by
          #4

          tamasan wrote:

          How can I rollback the data that was updated in B database?

          You cant!! Not in the Lounge:-D


          Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)

          1 Reply Last reply
          0
          • T tamasan

            Hello, I have an problem with my project. The project is written by C#, $ used SQLServer 2005 DB. I also use Web service & Seasar to retrieve A database. And on webservice side, I have to refer to another package that is built to DLL. That package retrieve B database. My problem is when I retrieve B database and update data via dll's function. if it is success, I update A database. But A database cannot update because some error that i cannot control. How can I rollback the data that was updated in B database?

            P Offline
            P Offline
            Paul Conrad
            wrote on last edited by
            #5

            You should really be asking this in the SQL forum, not the Lounge. Top of the Lounge says: The Lounge is a place where you can discuss anything that takes your fancy. If you just want to laze about and discuss things that don't quite fit elsewhere, then this is the place. Posting Guideline: The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. Do not post programming questions (use the programming forums for that) and please don't post ads. Your question doesn't fit here, but in the SQL forum :rolleyes:

            T 1 Reply Last reply
            0
            • P Paul Conrad

              You should really be asking this in the SQL forum, not the Lounge. Top of the Lounge says: The Lounge is a place where you can discuss anything that takes your fancy. If you just want to laze about and discuss things that don't quite fit elsewhere, then this is the place. Posting Guideline: The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. Do not post programming questions (use the programming forums for that) and please don't post ads. Your question doesn't fit here, but in the SQL forum :rolleyes:

              T Offline
              T Offline
              tamasan
              wrote on last edited by
              #6

              OK, Thanks for your remind. I will post it in SQL forum :) snow

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups