Quantcast
Channel: Recent Edits
Viewing all articles
Browse latest Browse all 12198

Forcing CONCAT_NULL_YIELDS_NULL ON is a Bad idea

$
0
0
In a future version of SQL Server, "set concat_null_yields_null off" will cause errors according to SQL profiler: "SET CONCAT_NULL_YIELDS_NULL OFF will be removed in a future version of SQL Server. Avoid using this feature in new development work..." This decision by the SQL Server team seems like a very bad idea.  For example, why should:   'foo' + @someNullValue be null?  Microsoft recommends using something like  'foo' + ISNULL(@someNullValue, '')  -- why? So what I see is that whenever

Viewing all articles
Browse latest Browse all 12198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>