Is it possible to create CLR stored procedure in SQL Server CLR project having input parameterof type nvarchar(max)?
If you define stored procedure:
Define your parameter to be of type SqlChars, instead of string. See Handling Large Object Parameters in the CLR