SSRS Tutorial Part 1 – Creating SSRS Project and Report in Reporting Services

In this article I will show you how to create Reporting services (SSRS) project and report step by step. This is a first step before we will be able to create report. To even start working with Reporting Services tool, we need to meet these requirements: Visual studio 2019 (or SSDT) – in case we… Read More »

SQL Server TRY CATCH and Error Handling with Examples

SQL TRY CATCH command is designed to control code flow in case that error situation occurs (error handling). This construction consists of  blocks. It is also possible to use transaction (more in article on Transactions). If an error occurs in the first block – TRY..END like that is activated code in CATCH..END block. TRY CATCH… Read More »

SQL UNION ALL – Merge of Queries with Example

Operator UNION ALL in SQL makes it possible to unify 2 query results and does not remove duplicities in queries. Operator returns records of both queries with no regard for existing duplicities. UNION ALL belongs to group called SET operators together with UNION, EXCEPT, INTERSECT SQL UNION ALL Syntax SELECT Column FROM dbo.Table WHERE Condition   UNION… Read More »

SQL UNION Operator – Unification of Sets with Example

UNION operator makes it possible to connect 2 results of query and remove all existing duplicities in them. In other words, operator actually performs DISTINCT (like SELECT DISTINCT) in final unification of records. SQL UNION Syntax SELECT Column FROM dbo.Table WHERE Condition      UNION SELECT Column FROM dbo.Table WHERE Condition; Syntax is same as… Read More »