Sql Server Warning Null Value In Cpp