RAISEERROR from CLR stored procedures

// http://social.msdn.microsoft.com/forums/en-US/sqlnetfx/thread/bef6c64e-e508-4ffb-b63b-66af5cea1201/

try {SqlContext.Pipe.ExecuteAndSend(new SqlCommand(“RAISERROR (‘error testing’, 11, 1)”));}catch {};

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s