As you might have guesse from :s answer, the direct answer for your question is no, not any SAS Institute supported one at least. Since SAS SQL programs are plain text files, there is nothing stopping anyone to write some kind of parser program to re-program to t-SQL - but I never heard of any such tool. In fact, this is what SAS/ACCESS to OLEDB/ODBC does behind the curtain - reprogram to native DBMS engine SQL. But I don't think that you can fetch this code on the fly, at least not from SAS. But, why do you ask, what is your underlying requirement?
... View more