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. Database & SysAdmin
  3. Database
  4. Sql

Sql

Scheduled Pinned Locked Moved Database
databasehelpquestionannouncement
3 Posts 3 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.
  • R Offline
    R Offline
    Rajeesrivastava
    wrote on last edited by
    #1

    hy, how can i create a transaction so that when ever i update a row of a table no other user can change it or access it.. its like transaction on a account , only one user can operate on an account at a time. i tried the following sql statement LOCK [ TABLE ] name IN lock_mode but it gives an error "incorrect syntax near table" should i create a stored procedure and then use SET TRANSACTION ISOLATION LEVEL SERIALATION after creating a transaction. plz help

    A 1 Reply Last reply
    0
    • R Rajeesrivastava

      hy, how can i create a transaction so that when ever i update a row of a table no other user can change it or access it.. its like transaction on a account , only one user can operate on an account at a time. i tried the following sql statement LOCK [ TABLE ] name IN lock_mode but it gives an error "incorrect syntax near table" should i create a stored procedure and then use SET TRANSACTION ISOLATION LEVEL SERIALATION after creating a transaction. plz help

      A Offline
      A Offline
      Ashfield
      wrote on last edited by
      #2

      What is your problem? This is the 3rd time you have asked the question, the answer is NOT going to change!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! http://www.codeproject.com/script/Forums/View.aspx?fid=12076[^]

      Bob Ashfield Consultants Ltd

      P 1 Reply Last reply
      0
      • A Ashfield

        What is your problem? This is the 3rd time you have asked the question, the answer is NOT going to change!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! http://www.codeproject.com/script/Forums/View.aspx?fid=12076[^]

        Bob Ashfield Consultants Ltd

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

        Ashfield wrote:

        This is the 3rd time you have asked the question, the answer is NOT going to change!!!!!

        :laugh::laugh::laugh:

        "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

        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