2014

Speed up MS SQL Server Reporting Services SSRS on First Run

On first run of SSRS, report rendering is very slow and in this post we will explore “how to speed up SSRS on first run”. The reason behind is that we have to wait for the application pool to spin up. During each start up, the SSRS web service reads and decrypts the rsreportserver.config file, […]

Speed up MS SQL Server Reporting Services SSRS on First Run Read More »

Allow only alphanumeric characters in a column

One of my colleague asked me a question that how to “allow only alphanumeric characters” in a column. Below is the exact question: How can i stop accepting any non-alphanumeric characters during DML operations in a column of a table? To achieve this, we can follow below steps. There may be more different ways other than

Allow only alphanumeric characters in a column Read More »

Read and compare XML nodes dynamically with unknown elements

In this article, I will share a practical example from my experience. In one of my project, I had a requirement of dynamic data comparison between two entities and the number of attributes were dynamic and can be added any time by end user and removed too. Let me explain it with an example that how we

Read and compare XML nodes dynamically with unknown elements Read More »

Row mapping and generating equivalent records for given condition in sql server

In this article, i will demonstrate a solution for dynamic row mapping problem in sql server. We will see “row mapping for given condition” with examples and in various way. One of my colleague asked me a question as below; “I have a table with Male and Female genders and want an output by mapping each Male with

Row mapping and generating equivalent records for given condition in sql server Read More »

Generate Defined number of rows dynamically (SET based approach)

In this article , we will generate as much number of rows as needed for each row of given table dynamically. We have a table named #Employee with two columns “EmpName” and “RowsToGenerate”. Lets explore “Generate rows dynamically” topic in with examples and demos. Generate Rows dynamically as per given count: Below is the structure of the table #Employee

Generate Defined number of rows dynamically (SET based approach) Read More »