• I am using SQL Server 2005 Enterprise Edition (x64) and getting the following errors:

    Msg 102, Level 15, State 1, Line 11

    Incorrect syntax near '?'.

    Msg 102, Level 15, State 1, Line 41

    Incorrect syntax near '?'.

    Msg 102, Level 15, State 1, Line 68

    Incorrect syntax near '?'.

    Msg 102, Level 15, State 1, Line 74

    Incorrect syntax near '?'.

    Msg 102, Level 15, State 1, Line 85

    Incorrect syntax near '?'.

    Msg 137, Level 15, State 2, Line 90

    Must declare the scalar variable "@CurrentDB".

    Msg 137, Level 15, State 2, Line 96

    Must declare the scalar variable "@CurrentDB".

    Msg 137, Level 15, State 2, Line 131

    Must declare the scalar variable "@SQLCmd".

    Msg 137, Level 15, State 2, Line 133

    Must declare the scalar variable "@CurrentDB".

    Msg 102, Level 15, State 1, Line 141

    Incorrect syntax near '?'.

    RedGate SQLPrompt reports an error starting on line 32 ( as copied directly from the post):

    r.is_disabled,

    Bill Soranno
    MCP, MCTS, MCITP DBA
    Database Administrator
    Winona State University
    Maxwell 143

    "Quality, like Success, is a Journey, not a Destination" - William Soranno '92