I tried changing a default parameter value with this:
ALTER PROCEDURE [dbo].[my_sp] @currentDate datetime = GETDATE()
and all the SQL pre-c
Default value for stored procedures parameter have to be constants. You'd need to do the following...
ALTER Procedure [dbo].[my_sp] @currentDate datetime = null AS IF @currentDate is null SET @currentDate = getdate()