I have a little code here. If I include the code with the ORDER BY clause I crash with a 3095 error. If I comment the ORDER BY out, and execute the second select command instead everything works.
Question, what am I missing. I have tried braces, bracket, parenthesizes you name it nothing...