I am in the middle of converting Oracle SQL to MS SQL Query equivalent. How do I convert the below? :-
(SELECT distinct (to_char(SYSDATE - ROWNUM + 1, 'MM/DD/YY')) dtval
FROM DUAL
CONNECT BY ROWNUM < 90) dt
Would a CTE be required? Is there a simple straight forward conversion?