Blogs

Auto Feeding the Cat with Video Confirmation

From a schedule program I wrote on my laptop I wanted to turn on an electric wall outlet which would...

Programming Your Home

I wanted to do some home automation and I wanted to write the code myself (I’m a software...

Recording Deletes When Using Entity Framework

I have all the changes archived to archive table using triggers, but this doesn’t record anything...

Generating Archive Tables and Triggers

I create archive tables to log all of the changes made to a table. The archive tables look like the...

Generating Indexes for Foreign Keys

Surprisingly SQL Server doesn’t automatically create indexes just because you have a foreign key. So...

Show Child Count in a DataGrid

I have an application with the following as part of the data model: So an Account can have many...

Generic Boolean to Text Converter

I’ve seen this done a few different ways, but I think this is the best way because you can reuse it...

Generating Passwords

We have the requirement that our passwords have to change every 90 days.  I wanted to automate...

Changing the SQL Server Password

All of these failed except the last one, I was logged in as RMUser:   exec sp_password...