<?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: create temporary table in SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/create-temporary-table-in-SAS/m-p/343394#M78829</link>
    <description>&lt;P&gt;Check SAS documentation for SQL. There is no VOLATILE in SAS SQL, and not in all SQL implementations either AFAIK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SQL;
CREATE TABLE TEMP AS
(SELECT * FROM SASHELP.AIR)
;
QUIT;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/sqlproc/69822/HTML/default/viewer.htm#n07kfcv1vbih8rn1k9epo45umxil.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/sqlproc/69822/HTML/default/viewer.htm#n07kfcv1vbih8rn1k9epo45umxil.htm&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Mar 2017 16:37:02 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-03-22T16:37:02Z</dc:date>
    <item>
      <title>create temporary table in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/create-temporary-table-in-SAS/m-p/343377#M78820</link>
      <description>&lt;P&gt;&amp;nbsp;Hi ,&lt;/P&gt;&lt;P&gt;I am trying to create a temporary table in SAS with below code:&lt;/P&gt;&lt;P&gt;PROC SQL;&lt;BR /&gt;CREATE VOLATILE TABLE TEMP AS&lt;BR /&gt;(SELECT * FROM SASHELP.AIR)&lt;BR /&gt;;&lt;BR /&gt;QUIT;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I m getting the following error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasError"&gt;'Syntax error, expecting one of the following: DISTINCT, INDEX, TABLE, UNIQUE, VIEW'&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;KIndly help.&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 22 Mar 2017 16:24:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/create-temporary-table-in-SAS/m-p/343377#M78820</guid>
      <dc:creator>simrut</dc:creator>
      <dc:date>2017-03-22T16:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: create temporary table in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/create-temporary-table-in-SAS/m-p/343381#M78821</link>
      <description>You are trying to use RDBMS specific syntax.&lt;BR /&gt;A temporary table in SAS has the predefined "schema" (libref in SAS terminology) called work. &lt;BR /&gt;An equal syntax is to use a one level table specification, work is assumed.</description>
      <pubDate>Wed, 22 Mar 2017 16:27:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/create-temporary-table-in-SAS/m-p/343381#M78821</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-03-22T16:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: create temporary table in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/create-temporary-table-in-SAS/m-p/343388#M78825</link>
      <description>&lt;P&gt;Hi LinusH,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you clarify more on how can I create a MULSET VOLATILE tabe in SAS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 16:33:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/create-temporary-table-in-SAS/m-p/343388#M78825</guid>
      <dc:creator>simrut</dc:creator>
      <dc:date>2017-03-22T16:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: create temporary table in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/create-temporary-table-in-SAS/m-p/343394#M78829</link>
      <description>&lt;P&gt;Check SAS documentation for SQL. There is no VOLATILE in SAS SQL, and not in all SQL implementations either AFAIK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SQL;
CREATE TABLE TEMP AS
(SELECT * FROM SASHELP.AIR)
;
QUIT;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/sqlproc/69822/HTML/default/viewer.htm#n07kfcv1vbih8rn1k9epo45umxil.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/sqlproc/69822/HTML/default/viewer.htm#n07kfcv1vbih8rn1k9epo45umxil.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 16:37:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/create-temporary-table-in-SAS/m-p/343394#M78829</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-03-22T16:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: create temporary table in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/create-temporary-table-in-SAS/m-p/343466#M78858</link>
      <description>&lt;P&gt;Do&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SQL;
CREATE TABLE WORK.TEMP AS
SELECT * FROM SASHELP.AIR;
QUIT;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or simply&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SQL;
CREATE TABLE TEMP AS
SELECT * FROM SASHELP.AIR;
QUIT;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;since WORK is the default library.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 18:47:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/create-temporary-table-in-SAS/m-p/343466#M78858</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2017-03-22T18:47:24Z</dc:date>
    </item>
  </channel>
</rss>

