T-SQL start: command

  • What does the

     

    start:

    command in T-SQL mean.  Could this command be responsible for the SPROC in question working in one machine but not the other?

  • It is not a command it is a label for use with GOTO, eg

    start:

    PRINT 'Looping'

    GOTO start

     

    Far away is close at hand in the images of elsewhere.
    Anon.

  • To answer the second question, since the label points to something inside the same stored procedure, if the same version of SP is on both servers, I know of no reason why it should cause the SP not to work on one of the servers.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply