Skip to main content

VSCode Tip – Rename Multiple Attributes At The Same Time

Multiple cursors is one of my favorite features in VS Code. Just highlight what you want and hit cmd/ctrl + d to highlight all matching snippets. Then type away! I use this to add multiple classes, delete multiple elements, and edit attributes. pic.twitter.com/1ukxXsVdHS — Emma Wedekind ✨ (@EmmaWedekind) March 27, 2019

11 things I wish I could tell myself as a Junior Software Developer – Michael’s Coding Spot

I’d like to tell my junior self that in 10 years, there wasn’t a single bug I didn’t eventually solve one way or the other. Even bugs that seem extremely scary, are eventually conquered. — Read on michaelscodingspot.com/2019/01/10/11-things-i-wish-i-could-tell-myself-as-a-junior-software-developer/

ANSWER: UPDATE failed because the following SET options have incorrect settings: ‘ANSI_NULLS, QUOTED_IDENTIFIER’

I came across an interesting problem last night – a stored procedure that had been created years ago was suddenly coming up with this error message: UPDATE failed because the following SET options have incorrect settings: ‘ANSI_NULLS, QUOTED_IDENTIFIER’. Verify that SET options are correct for use with indexed views and/or indexes on computed columns and/or […]

Capturing STDERR output from SQLCMD.exe

Today while working with a .bat file full of SQLCMDs with really verbose output, I wanted just to capture error messages that were being sent to STDERR without changing the .sql files. I know how to capture/redirect handles in a variety of programming languages, but I haven’t tried to do this in a windows command […]