title: Return Exception Number more than 50000 using RAISERROR
body: <p>I am returning an exception from stored procedure in SQL Server 2012 as follows:</p>
  
  <pre><code>DECLARE @errnum nchar(5), @errmsg nvarchar(2048);
  SELECT
  @errnum = 51000,--RIGHT('00000' + ERROR_NUMBER(), 5),
  @errmsg = @errnum + ' ' + ERROR_MESSAGE();
  RAISERROR (@errmsg, 16, 1);
  </code></pre>
  
  <p>The SqlException is returned in C# code with Number 50000, where is does further operations.
  For some business logic reasons I need the returned number to be more than 50000.
  e.g we do it using THROW keyword.</p>
  
  <pre><code>THROW 51000,'error',1
  </code></pre>
  
  <p>How can I achieve that?</p>