Recently I came across a situation where queries are loading extremely slow from a table and I was able to find the root cause using DATALENGTH T-SQL function. According to books online, DATALENGTH (expression) returns the length of the expression in bytes (or) the number of bytes SQL needed to store the expression which can be of any […]
↧