When a clr has the input type of SqlString it causes nvarchar(4000) to be the parameter type of the

D

DR

When a clr has the input type of SqlString it causes nvarchar(4000) to be
the parameter type of the function in sql server. how to modify my CLR
function to use nvarchar(max) ?
 
N

Nicholas Paldino [.NET/C# MVP]

DR,

When you create the CLR stored procedure, you have to issue a CREATE
PROCEDURE command. In that command, you specify what the parameters should
be. A SqlString parameter can accomidate any size string that SQL Server
can accomidate.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top