Why do I always forget the little things? Fixed the SQL server code