<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Sas SQL to tSQL in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Sas-SQL-to-tSQL/m-p/151502#M29882</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way to export&amp;nbsp; sas SQL to tSQL ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 Jun 2014 20:05:15 GMT</pubDate>
    <dc:creator>clcl</dc:creator>
    <dc:date>2014-06-22T20:05:15Z</dc:date>
    <item>
      <title>Sas SQL to tSQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-SQL-to-tSQL/m-p/151502#M29882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way to export&amp;nbsp; sas SQL to tSQL ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jun 2014 20:05:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-SQL-to-tSQL/m-p/151502#M29882</guid>
      <dc:creator>clcl</dc:creator>
      <dc:date>2014-06-22T20:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sas SQL to tSQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-SQL-to-tSQL/m-p/151503#M29883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAS SQL is constructed between a PROC SQL statement and a closing semicolon, possibly followed by a QUIT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;create table table1 as&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;select *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;from ............;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you simply copy the bolded SQL into your tSQL editor it will in some cases work unmodified. You may have to tweak it to get it to work but for simple queries that shouldn't be a lot of work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you wish to do this a lot and repeatedly then you should use SAS's SQL Pass-through. In that case the SQL being used would be identical to tSQL. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jun 2014 21:46:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-SQL-to-tSQL/m-p/151503#M29883</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2014-06-22T21:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sas SQL to tSQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-SQL-to-tSQL/m-p/151504#M29884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you might have guesse from &lt;A __default_attr="312252" __jive_macro_name="user" class="jive_macro jive_macro_user" href="https://communities.sas.com/"&gt;&lt;/A&gt;:s answer, the direct answer for your question is no, not any SAS Institute supported one at least.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;But, why do you ask, what is your underlying requirement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 09:09:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-SQL-to-tSQL/m-p/151504#M29884</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2014-06-23T09:09:11Z</dc:date>
    </item>
  </channel>
</rss>

