• Off topic, but it's not a best practice to start stored procedures with "sp_" . That's generally reserved for SQL system SPs.