When doing a bindparameter command there is a place for the buffer size (a couple of them).
If the parameter is a varchar(max) how does one indicate the buffer should adapt to the actual length of the parameter (these are inbound parameters to a stored procedure)?
I know I can calculate the length of the parameter into a variable and use that for the buffer value, but I just wanted to know if there was an intrinsic way to do this in the bindparameter command.
I have researched on the Microsoft site and I do not see that his is possible but it is very likely I am either missing or mis-reading something.
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.