How to Send More than 4000 Characters from CLR Stored Proc
I was sending some debug output from my CLR stored procedure via SqlPipe.Send() method, and suddenly I received this exception: System.ArgumentException: Message length 4474 exceeds maximum length supported of 4000. […]