• hi,

    the below given set of statements given the same error...

    :hehe:

    select 'def'

    raiserror('oh no, another error!', 16,1)

    select 'xyz'

    select @@error

    (1 row(s) affected)

    Msg 50000, Level 16, State 1, Line 2

    oh no, another error!

    (1 row(s) affected)

    (1 row(s) affected)