Wpis z mikrobloga

@Dawisek: jeśli to sql2016 lub wyzej to CREATE or ALTER. Poza tym nawiasy i begin end.
Parametry raczej się wrzuca do odczytu a jak chcesz je modyfikować i wyrzucać to pasuje robić OUTPUT
@Dawisek: a dokładniej o to mi chodzi link

default A default value for a parameter. If a default value is defined for a parameter, the procedure can be executed without specifying a value for that parameter. The default value must be a constant or it can be NULL. The constant value can be in the form of a wildcard, making it possible to use the LIKE keyword when passing the parameter