Category: SQL Server

Column Alias in SQL Query

When returning the query results , you want to provide an alternate name for the column for readability purpose , you can use the AS clause to specify the column alias in SQL Query. How to specify Column alias in SQL Query ? Below is an example of the usage of the column alias in SQL Query. Every column in the Query result has a…

SQL Server Error Code – 10704 to rethrow an error, a throw statement m

In this blog post, you’ll learn more about the SQL Server Error Code 10704 and the error message description that is shown SQL Server Error Code 10704 SQL Server Error Description for the Code :10704 To rethrow an error, a THROW statement must be used inside a CATCH block. Insert the THROW statement inside a CATCH block, or add error parameters to the THROW statement.