In a SELECT statement I have a condition along the lines of columnName LIKE '%'.
I have noticed that this gives different results to '%' LIKE columnName.
Why is this? I would have thought that the LIKE operator would behave as the = operator, as in a=b is equivalent to saying b=a.
Does anyone...
I have an IF statement whereby a tempory table is created by a SELECT INTO command. If the IF statement evaluates to true then the data for the temporary table comes from one source and if the IF statement is FALSE then the data comes from a second source. The name of the temporary table is the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.