No it won't fail. Even if you put 0 here, in size, it will work but if your db type is varchar
or nvarchar
then it will truncate your value to the supplied size, in this case 4.
If your parameter value is more than what an int can hold (2,147,483,647
) then it will throw an error at runtime.