J
John Dalberg
I am getting a "String or binary data would be truncated. The statement has
been terminated" error. I am trying to capture the exact SQL statement
that's causing the error but SQL Server's profiler doesn't have it and if I
capture the commandtext property of SQLCommand, the sql has the parameters
without substitution.
How do I capture the exact SQL after parameters substitution? It seems one
of the parameter values is too long to fit.
been terminated" error. I am trying to capture the exact SQL statement
that's causing the error but SQL Server's profiler doesn't have it and if I
capture the commandtext property of SQLCommand, the sql has the parameters
without substitution.
How do I capture the exact SQL after parameters substitution? It seems one
of the parameter values is too long to fit.