There are multiple overloads for sqlcommand.Parameters.Add(…) function. Some of them do not take size, and some do. What sizes are set by default? Is it safe not to set parameter sizes? Does it affect performance?
There are multiple overloads for sqlcommand.Parameters.Add(…) function. Some of them do not take size,
Share
From SqlParameter.Size Property doco
There’s an awesome reply by Peter Wone on 293315 that describes more detail what that actually means