Quantcast
Channel: SQL Server Blog
Viewing all articles
Browse latest Browse all 1849

Changing case of T-SQL Keywords

$
0
0

Bert likes his T-SQL keywords in UPPERCASE, Ernie likes his in lowercase which causes some internal struggle as it is actually one person "Mr Bert Ernie" anyway I digress, whether you are working by yourself or in a team you sometimes want to change the case of all the keywords in some code.

If you are using SSDT you can use my new SSDT-DevPack tool to do it for you:

If you grab the devpac, any T-SQL keywords in the active document will be made UPPERCASE when you do "tools->SSDT Dev Pack-->Upper Case Keywords" and I will leave it up to your imagination as to what happens when you do "tools->SSDT Dev Pack-->Lower Case Keywords".

As always, you can map these to keyboard shortcuts, I use Ctrl+K,L for lowercase and ctrl+k,u for UPPERCASE.

Any problems please shout, grab the installer from:

https://github.com/GoEddie/SSDT-DevPack/blob/master/release/SSDTDevPack....

Enjoy :)


Viewing all articles
Browse latest Browse all 1849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>