• First of all. Thanks for good question and trying to confuse uses 🙂 .

    If you check msdn, then you will find that every create store procedure and create function, always contains a "GO" statement before the definition.

    GO statement will use to create a separate batch. Check below link.

    http://msdn.microsoft.com/en-us/library/ms188037.aspx

    Good try and keep it up. 🙂

    Thanks
    Vinay Kumar
    -----------------------------------------------------------------
    Keep Learning - Keep Growing !!!