Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 34890

switchoffset built-in function can cause incorrect cardinality estimate

$
0
0
Recently, we received a call from a customer reported that a query was slow.  Upon further investigation, his query has a predicate that look like this: select * from t o where c1 >switchoffset (Convert(datetimeoffset, GETDATE()), '-04:00')   ...read more...(read more)

Viewing all articles
Browse latest Browse all 34890

Trending Articles



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