ERR is a column of char(255)
How can I speed up this reference?
LEN(RTRIM(LTRIM(ERR))) > 0
I need to find out if there is anything in ERR that is not blanks. This query is going to be ran thousands of times a day on nonstatic data, so precalculating to another table is not a valid option.
I haven't tried to convert ERR to a varchar(255), would this speed up LEN(RTRIM(LTRIM(ERR))) > 0??
Thanks in advance for any responses to this post.
How can I speed up this reference?
LEN(RTRIM(LTRIM(ERR))) > 0
I need to find out if there is anything in ERR that is not blanks. This query is going to be ran thousands of times a day on nonstatic data, so precalculating to another table is not a valid option.
I haven't tried to convert ERR to a varchar(255), would this speed up LEN(RTRIM(LTRIM(ERR))) > 0??
Thanks in advance for any responses to this post.