Is there a difference in the order of v1 and v2 in a BETWEEN query on SQL Server?
SELECT *
FROM table
WHERE col BETWEEN v1 AND v2
currently I don’t get any results if v1 is bigger than v2. Is this only syntactic sugar for
col >= v1 AND col <= v2
or does it really take all values between the two? on my current observations I guess it’s the first case.