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. goto in sql server 2000 stoed procedure

goto in sql server 2000 stoed procedure

Scheduled Pinned Locked Moved Database
databasesql-serversysadminperformancequestion
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.
  • S Offline
    S Offline
    Sonia Gupta
    wrote on last edited by
    #1

    in stored procedure sql server 2000 , i am using the goto keyword to send the user to execute the particular line , Is this the right way to do so ? I am saying this because , in general , we are told to stop using the goto keyword , as far as the memory consumption is concerned.

    Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.

    P 1 Reply Last reply
    0
    • S Sonia Gupta

      in stored procedure sql server 2000 , i am using the goto keyword to send the user to execute the particular line , Is this the right way to do so ? I am saying this because , in general , we are told to stop using the goto keyword , as far as the memory consumption is concerned.

      Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.

      P Offline
      P Offline
      pmarfleet
      wrote on last edited by
      #2

      Sonia Gupta wrote:

      we are told to stop using the goto keyword , as far as the memory consumption is concerned.

      I'm not sure why memory consumption should be an issue. The traditional arguments against using GOTO are outlined in this article[^]. What are you using GOTO for?

      Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

      K 1 Reply Last reply
      0
      • P pmarfleet

        Sonia Gupta wrote:

        we are told to stop using the goto keyword , as far as the memory consumption is concerned.

        I'm not sure why memory consumption should be an issue. The traditional arguments against using GOTO are outlined in this article[^]. What are you using GOTO for?

        Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

        K Offline
        K Offline
        Khawar Abbas1
        wrote on last edited by
        #3

        its better not to use goto statement. try to use some alternate to perform the functionality.

        Do good and have good.

        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