• This wil also give error :

    DROP FUNCTION dbo.Test DROP TYPE dbo.MyTable GO

    as GO is present at the same line where it should not be....

    Alas I got wrong :w00t:

    _______________________________________________________________
    To get quick answer follow this link:
    http://www.sqlservercentral.com/articles/Best+Practices/61537/