• I received the following error message when I ran the script on SQL Server 2005.

    Msg 170, Level 15, State 1, Line 2

    Line 2: Incorrect syntax near 'OUTPUT'.

    Can someone put a light on this?