• Already tried that...still getting an error...

    Msg 139, Level 15, State 1, Procedure usp_Names, Line 0

    Cannot assign a default value to a local variable.

    Msg 137, Level 15, State 2, Procedure usp_Names, Line 12

    Must declare the scalar variable "@SQLQuery".