All Articles 2favbooks-600x400

Podcast – Conversation With Author – Serving a Benevolent Master

I had amazing fun time earlier last week when I was interviewed by prominent podcaster Dave Rael. He is amazing interviewer and knows how to get secret information from the people. He had asked me indeed very, very difficult question in the podcast. I consider myself as a good speaker, but there were many moments when I fumbled to answer the questions immediately. I think the reason for the same is simple – the interviewer Dave was too good.

Read More
All Articles acid-600x400

What is ACID Property in Database? – Interview Question of the Week #066

Today I want to take you all back to the one of the very original database interview questions and answer which I see often discussed in the interview. I have previously written about this ACID properties as well. In my career, I have seen 1000s of the interview. One of my most popular services is to help people with interview questions and answers. I have often observed when interviewer runs out of questions to ask and thinking of the next question, they often ask this question about ACID Property of the database.

Read More
All Articles InMemory-Migration-Script-02-600x400

SQL SERVER – InMemory OLTP Migration Assistant Powershell Script

In one of my recent interaction with my client, they were so much impressed with the fact that SQL Server has now introduced the ability to use In Memory OLTP. They said they were interested in implementing the same in their environment for a number of applications. The hardware refresh was due and they were also upgrading a number of their legacy applications which were hosted on SQL Server 2005 to the latest version as that was also due. In this blog post we will learn about InMemory OLTP Migration Assistant.

Read More
All Articles Database-default-locations-01-600x400

SQL SERVER – Identifying Database Default Locations for Data and Logs

How often have you had the opportunity to go back to basics and learn the same thing again in a different manner? How many of you are developers here? I am sure each one of us write a piece of code that gets onto the production – how often have you been revisiting the same code say after a week post release. Have you ever tried to look at the code to enhance it or do the same thing differently? I am sure the majority of you never even want to look at the old code you wrote. This is second to human nature and trust me, you are not alone in this planet with this attitude. Let us learn about Database Default Locations.

Read More
All Articles vm-coll-01-600x360

SQL SERVER – How to Change SQL Server Collation on Microsoft Azure VM (IaaS)

I have been using Microsoft Azure, SQL Virtual Machine (IaaS) for quite some time because few of my clients ask questions about them. My clients generally use images from gallery to deploy SQL Server. Once they realized that they want to change the SQL Server collation instance. I was contacted to know the steps to do that. I learned something new so sharing via the blog.

Caution: Rebuild of system databases is as good as the fresh installation of SQL Server. YOU WOULD LOSE ALL EXISTING INFORMATION so please backup the stuff, if needed.

Read More
All Articles mysql-current-user

MySQL – Different Methods to Know Current User

There are different methods to know the name of the current user in MySQL. There can be many reasons we want to know who is the current user. Here is list of the of the few of the such reasons.

Customized code which we want to run based on the reason.
Checking the permissions based on the user.
Inserting the name of the user in the audit table.
Displaying special message based on the login user.
Executing some special logic/code based on the logged in user.

Read More