checked whether the value to set is nil and return @"null" as sql representation