How to bypass restart computer error message while installing SQL Patch

If you ever encounter restart computer error message while performing SQL Server patching and you don’t have opportunity\permission to restart your machine. You can bypass this situation by deleting value from PendingFileRenameOperations key. Here are the steps which you need to follow –> To Open Registry Editor. Click Start  ( win + R ) –> Run,… Read More How to bypass restart computer error message while installing SQL Patch

Replication – Snapshot is not getting generated

Replication issues and resolutions Today I have encountered very strange issue – Scenario – Snapshot is not getting generated for newly added articles or Error when setting up Transactional Replication via SQL scripts. Msg  14100, Level 16, State 1, Procedure sp_MSrepl_addsubscription, Line 533 Specify all articles when subscribing to a publication using concurrent snapshot processing. Step performed to… Read More Replication – Snapshot is not getting generated

Create Blocking Alert – SQL 2005 , SQL 2008 R2 and SQL 2012

We often need to create blocking alert in our Production server to capture existing blocking on server and keep record for future analysis. Here are steps which help us to create blocking alerts- Either you can receive blocking details through e-mail or you can log event id in application log and configure your monitoring tool to… Read More Create Blocking Alert – SQL 2005 , SQL 2008 R2 and SQL 2012

SQL Server 2012 Upgrade from Standard Edition to Enterprise edition

SQL Server 2012 Upgrade from Standard Edition to Enterprise edition   Step 1- Identify SQL executable file  , Right click and run as admin   Step 2 – click on Maintenance tab on left hand side. Step 3- Click on Edition Upgrade Step 4 – Click Okay Step 5- Click Next Step 6 – Click… Read More SQL Server 2012 Upgrade from Standard Edition to Enterprise edition

SSRS – How to convert in Day/Hour/Minute format in SSRS report

Scenario – In my SSRS report i have calculate Age field of Tickets like in 1 Day 2 Hours 20 min format and we are getting values in minute . Solution – I have created filed called Age(Minutes) in my SP or query IN SQL – datediff(minute,date_created, getdate()) as ‘Age (Minute)’ IN SSRS write expression =  (… Read More SSRS – How to convert in Day/Hour/Minute format in SSRS report