title: How to print a message in error handling with try, throw and catch
body: <p>I want to print a message ("The table employe is not exist in database") in my query.  </p>
  
  <p>My query is:</p>
  
  <pre><code>create proc sp_emprecord
  as 
  begin
      select * from employe
  end
  
  begin try
      execute sp_emprecord
  end try
  
  begin catch
      select
      error_message() as errormessage,
      error_number() as erronumber,
      error_state() as errorstate,
      error_procedure() as errorprocedure,
      error_line() as errorline;
   end catch
  </code></pre>