For clarity……….
Executing sp_recompile
will “mark” the given stored procedure for recompilation, which will occur the next time it is executed.
Using the WITH RECOMPILE
option will result in a new execution plan being generated each time the given stored procedure is executed.
To clear the entire procedure cache execute
DBCC FREEPROCCACHE