Properly instantiate var and fix spelling.
Merge pull request #584 from JeroenDeDauw/SQLServerPlatform

Properly instantiate var and fix spelling