All Articles drop-mirror-err-02-379x400

SQL SERVER – Msg 3743: The Database is Enabled for Database Mirroring. Database Mirroring Must be Removed Before you Drop the Database

One of my clients contacted me for quick assistance. They had database mirroring configured for a database. Due to some unknown issue their database mirroring went for a toss. Their end goal was to drop the database so that they can configure database mirroring again. They already had a backup of the database already taken before the issue.  So far things were looking simple and all they wanted was to drop the database. 

Read More
All Articles sqlincity

SQL in the City Streamed – Virtual Event on December 13 2017

Just like everyone, I love free quality education. However, the biggest challenge we see in the technology world is that even though we have free education available, after a while the relevance of the education is limited. Technology field is continuously changing and we all need to keep ourselves updated with the technology. In this blog post we will talk about SQL in the City Streamed, Virtual Event held on December 13 2017.

Read More
All Articles space-err-02-600x400

SQL SERVER – Msg 1105 – Could Not Allocate Space for Object Name in Database ‘DB’ Because the ‘PRIMARY’ Filegroup is Full

This is one of the famous error which has been reported many times by many clients. Here is the exact error which you might see. One of my clients complained that our database was unable to grow despite available space on the disk. Here is the error which they shared. Let us learn about error related to allocate space. 

Read More
All Articles fn_hadr-01-600x400

SQL SERVER – AlwaysOn Availability Group Backup fn_hadr_backup_is_preferred_replica Not Working Correctly

One of my clients has configured AlwaysOn availability group and wanted to automate backup to secondary replica. They debugged and found that the function sys.fn_hadr_backup_is_preferred_replica returns 0 no matter what the backup preference is set to. Since function was returning zero, the maintenance plan was ignoring the server to take backup.

Read More