<?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 Re: Creating temp table in sql server pass through? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Creating-temp-table-in-sql-server-pass-through/m-p/476740#M122695</link>
    <description>&lt;P&gt;I think I have solved this by talking to a colleague.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;&lt;SPAN&gt;#temporaryTable only exists for the duration of the connection!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps some one else.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Andrew&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jul 2018 11:16:54 GMT</pubDate>
    <dc:creator>andrewjmdata</dc:creator>
    <dc:date>2018-07-10T11:16:54Z</dc:date>
    <item>
      <title>Creating temp table in sql server pass through?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-temp-table-in-sql-server-pass-through/m-p/476729#M122692</link>
      <description>&lt;P&gt;Hi, Does anyone know how to create #temptables in SQL Server using SQL Pass through?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following code runs successfully but there is no &lt;SPAN&gt;#temporaryTable&lt;/SPAN&gt; in SQL Server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc sql;&lt;BR /&gt;connect to sqlserver(...);&lt;BR /&gt; &lt;BR /&gt;execute(select prod_id&lt;BR /&gt; into #temporaryTable&lt;BR /&gt; from PRODUCTS)&lt;BR /&gt;by sqlserver;&lt;BR /&gt;quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Andrew&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 10:59:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-temp-table-in-sql-server-pass-through/m-p/476729#M122692</guid>
      <dc:creator>andrewjmdata</dc:creator>
      <dc:date>2018-07-10T10:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Creating temp table in sql server pass through?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-temp-table-in-sql-server-pass-through/m-p/476740#M122695</link>
      <description>&lt;P&gt;I think I have solved this by talking to a colleague.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;&lt;SPAN&gt;#temporaryTable only exists for the duration of the connection!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps some one else.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Andrew&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 11:16:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-temp-table-in-sql-server-pass-through/m-p/476740#M122695</guid>
      <dc:creator>andrewjmdata</dc:creator>
      <dc:date>2018-07-10T11:16:54Z</dc:date>
    </item>
  </channel>
</rss>

