<?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: how to create two tables from select query? in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/how-to-create-two-tables-from-select-query/m-p/334257#M1901</link>
    <description>&lt;P&gt;create table will create 1 table.I want 2 tables as output of select query result in 2 table&lt;/P&gt;</description>
    <pubDate>Mon, 20 Feb 2017 05:14:37 GMT</pubDate>
    <dc:creator>paddyb</dc:creator>
    <dc:date>2017-02-20T05:14:37Z</dc:date>
    <item>
      <title>how to create two tables from select query?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/how-to-create-two-tables-from-select-query/m-p/334254#M1898</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Below code I am creating two tables as a output of select query.macro parametere aa have 2 values so create 2 tables.I want to name the table from that.ANy idea how to do that&lt;/P&gt;&lt;P&gt;%macro dismon(aa);&lt;BR /&gt;proc sql;&lt;BR /&gt;select DISTINCT MONTH from raw102.&amp;amp;aa;&lt;BR /&gt;quit;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;%mend;&lt;BR /&gt;&lt;BR /&gt;data test;&lt;BR /&gt;set sashelp.vcolumn;&lt;BR /&gt;where libname="RAW102" and name="MONTH";&lt;BR /&gt;call execute('%dismon(' || memname || ');');&lt;BR /&gt;keep memname;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 05:03:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/how-to-create-two-tables-from-select-query/m-p/334254#M1898</guid>
      <dc:creator>paddyb</dc:creator>
      <dc:date>2017-02-20T05:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to create two tables from select query?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/how-to-create-two-tables-from-select-query/m-p/334255#M1899</link>
      <description>&lt;P&gt;CREATE TABLE&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See the docs for examples of usage.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/sqlproc/69822/HTML/default/viewer.htm#p1l9ypkml4febvn0zsbkwev7v5x9.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/sqlproc/69822/HTML/default/viewer.htm#p1l9ypkml4febvn0zsbkwev7v5x9.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 05:08:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/how-to-create-two-tables-from-select-query/m-p/334255#M1899</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-02-20T05:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to create two tables from select query?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/how-to-create-two-tables-from-select-query/m-p/334256#M1900</link>
      <description>&lt;P&gt;create table data1 as select query&lt;/P&gt;&lt;P&gt;this create only one table&lt;/P&gt;&lt;P&gt;i want create table data1 data2 as select query&lt;/P&gt;&lt;P&gt;but its not allowed any other way of doing it&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 05:12:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/how-to-create-two-tables-from-select-query/m-p/334256#M1900</guid>
      <dc:creator>paddyb</dc:creator>
      <dc:date>2017-02-20T05:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to create two tables from select query?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/how-to-create-two-tables-from-select-query/m-p/334257#M1901</link>
      <description>&lt;P&gt;create table will create 1 table.I want 2 tables as output of select query result in 2 table&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 05:14:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/how-to-create-two-tables-from-select-query/m-p/334257#M1901</guid>
      <dc:creator>paddyb</dc:creator>
      <dc:date>2017-02-20T05:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to create two tables from select query?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/how-to-create-two-tables-from-select-query/m-p/334259#M1902</link>
      <description>&lt;P&gt;Search : split data into subsets.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Either here or Google.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a writeup on sascommunity.org and SAS Dummy blog.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are at least a dozen solutions here, more like at least one a week.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 05:19:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/how-to-create-two-tables-from-select-query/m-p/334259#M1902</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-02-20T05:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to create two tables from select query?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/how-to-create-two-tables-from-select-query/m-p/334260#M1903</link>
      <description>&lt;P&gt;thank you.will check&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 05:21:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/how-to-create-two-tables-from-select-query/m-p/334260#M1903</guid>
      <dc:creator>paddyb</dc:creator>
      <dc:date>2017-02-20T05:21:47Z</dc:date>
    </item>
  </channel>
</rss>

