Jan
30
2012

Visual Studio Achivements

I know it's geeky but it amuses me so.  There are now achievements to be unlocked inside visual studio as you code.  I mean how cool is that.  You can read more about it over on channel 9 (http://channel9.msdn.com/achievements/visualstudio).  Here's my progress page http://channel9.msdn.com/niners/squirrelsharp/achievements/visualstudio

Nov
16
2011
SQL

sp_MSforeachtable, not your father's sql

So yesterday I needed to delete all the tables in a test database. It had hundreds of tables and I didnt want to write a cursor. Surely MS must have something.  A quick Google search later, and Joe Webb had a post that helped me.

Turns out MS has a proc for just such an occassion, sp_MSforeachtable.

EXECUTE sp_MSforeachtable 'DROP TABLE [?]';

and done.

Nov
15
2011

First!

Woo first post! Anyhow I decided to use BlogEngine to create my blog.  It's really pretty impressive how far it's come in features and usability.

About Me

A computer enthusiast (geek seems harsh) who likes to code and enjoy the outdoors.

Page List