SQL in Excel

I want to highlight one of features of Excel which is ‘Microsoft Query’. As far I as know this so called tool has over twenty years, but looks even older.

Why even bother?

Some time ago I was production data analyst, where one of my tasks were to pull data from SQL-based systems. But I had difficult time with IT department guys. They didn’t allow anyone to anything: no permission to access servers, no installing programs, no upgrades. Even I couldn’t have Excel upgraded to Professional version nor installed addons like PowerQuery. Their restrictions were so ridiculous that they refused requests from operational director (for example he simply want to have some image viewer). They were considering themselves as some kind of warlocks whose are the only ones who understands technology and everybody else can do nothing. So I ended up only with Excel in my tool-belt, and that vintage MS Query.


MS Query
Window of Microsoft Query program from Excel 2013


Pros & cons of MS Query

+ available in every version of excel

– can’t change connection with database after establishing

– can’t make relations one-to-many on on more than 2 tables

– network drives have to be mapped




Get Free Email Updates!

Signup now and receive an email once I publish new content.

I agree to have my personal information transfered to MailChimp ( more information )

I will never give away, trade or sell your email address. You can unsubscribe at any time.

Leave a Reply