I've been doing some searching about why it is beneficial to use the parameter object explicitly when executing Stored Procedures from VB - as opposed to something like:
Is there a benefit to adding parameters this way:
Rich
Code:
EXEC SP_MySProc ?, lngMyVal
Code:
.Parameters.Append .CreateParameter("@MyVal", _
adInteger, adParamInput, 4, lngMyVal)