Category Archives: Software Development

Google your SQL

We all have one snippet that we use several times daily (excluding logins/passwords), well here is one i like when working in SQL:

USE <DATABASE_NAME>
SELECT ROUTINE_NAME, ROUTINE_DEFINITION, LAST_ALTERED
FROM INFORMATION_SCHEMA.ROUTINES
WHERE ROUTINE_DEFINITION LIKE '%KEYWORD%'
AND ROUTINE_TYPE = 'PROCEDURE'
ORDER BY ROUTINE_NAME

I call it my very own tiny Google. I am sure this has been posted before but I wanted to share it again. Not only you will get a much smaller set of stored procedures to look into but you also have a sense of when was it last modified (with this version).

Now, what do you paste more than 100 times a day?
Advertisements

I’m in Plugin Hell

Doesn’t it suck when you get so used to a plugin that you assume it is part of the original product? To the point where you refuse to use other people’s system if they don’t have that plugin installed… yes I know!

Sadly when that same plugin decides to “Go Rogue” it really wipes the smile of your face. I had that happen using one of the most popular extensions for Visual Studio: Productivity Power Tools (free). For those of us using the Ultimate version of VS2010 Going to the Data Menu is a lost cause. Schema Compare and Data Compare both crash VS upon clicking.

For those in the same pickle…  I have found a hack to keep on working but it really doesn’t solve the issue.

Tagged ,
Advertisements
%d bloggers like this: