I have a SELECT statement, it is calculating the same DateDiff about 5 times. I'm using some CASE WHEN stuff and the result of DateDiff in days is how I determine what part of the case it goes with.
SELECT * FROM tbl_Students WHERE FirstName LIKE '%' + @FirstNameString + '% AND LastName LIKE '%' + @LastNameString + '% Anyway, I want the option for the user to specify one or both. So they can ...