I often see people getting confused between Primary Key and Unique Key. I see where people get confused about the same. Let us discuss. Question: “What is the Difference Between Primary Key Constraints and Unique Key Constraints?” Answer: “Primary Key (PK) Constraints enforce uniqueness just like Unique Key (UK) Constraints,…
Read MoreSQL SERVER – Using Buffer Pool Extension with In-Memory OLTP?
I am always amazed to see the questions asked by my blog reader which lead me to learn more about SQL Server. Here is the question which took me little time to figure out the answer. If you are new to SQL Server 2014 new features which I have in…
Read MoreSQL SERVER – ReadOnly Databases with ReadOnly File Attribute
As part of continued series of ReadOny databases, the earlier blog had an interesting comment that read as some people were getting errors of 5120 and others. This got me curious and was in the pending list of solutions in some way. One of the readers had mailed me saying,…
Read MoreSQL SERVER – Using Raw Files in SSIS – Notes from the Field #070
[Notes from Pinal]: SSIS is very well explored subject, however, there are so many interesting elements when we read, we learn something new. A similar concept has been Using Raw Files in SSIS. Linchpin People are database coaches and wellness experts for a data driven world. In this 70th episode…
Read MoreSQL SERVER – Database Stuck in “In Recovery” Mode After Restart
Read this blog and I am sure it will bring some instances in your environments. This is one of the common issues I have observed while working with SQL Server from long time now. In this blog we will discuss little details about the issue and possible action you might…
Read MoreSQL SERVER – Security Conversations and Notes with a DBA
One of the great things about working in Pluralsight is that I get to meet a lot of people (trust me on this). I am lost for words when it comes to how my day job helps me in achieving some of the coolest things presentations at a number of…
Read MoreSQL SERVER – Script to Convert Date to Julian Dates
There are many methods to store date values. One of them is Julian date. It is a seven digit number where first four is the year part and the next three digits are the number of days from Jan 01.
Interview Question of the Week #009 – Is GO T-SQL Statement?
I often get this question in the email – more frequently than I would like to get.
Question: “Is GO T-SQL statement?”
SQL SERVER – ReadOnly Databases and Notes Using Snapshots
This seems to be the third week that I am writing about ReadOnly databases, this blog is in continuation of last weeks notes. When I wrote the notes from last week, one of my blog reader said if it is possible to get the ReadOnly error without making the database into a ReadOnly database. This got me thinking and I couldn’t sleep that day. And a quick call to my friend to get some ideas – the answer was simple – using Snapshots.



