<?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: Appending two  datasets through proc sql in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Appending-two-datasets-through-proc-sql/m-p/695100#M33563</link>
    <description>ThanK you&lt;BR /&gt;Unison&lt;BR /&gt;In proc append we can append only two datasets in datastep we can append 100 datasets with set statement&lt;BR /&gt;so how many datasets we can append using proc sql method like above code</description>
    <pubDate>Thu, 29 Oct 2020 06:14:31 GMT</pubDate>
    <dc:creator>BrahmanandaRao</dc:creator>
    <dc:date>2020-10-29T06:14:31Z</dc:date>
    <item>
      <title>Appending two  datasets through proc sql</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Appending-two-datasets-through-proc-sql/m-p/695092#M33559</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*Run appending process by SQL;
data apnd1;
input Siteno $ Subid Age;
cards;
S1		101 23
S1		102 46
S1		103 56
;
run;

data apnd2;
input Siteno $ Subid Age;
cards;
S2		201 23
S2		202 46
S2		203 56
;
run;

/*Run Appending*/
proc sql;
insert into apnd1;
select * from apnd2;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Oct 2020 05:09:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Appending-two-datasets-through-proc-sql/m-p/695092#M33559</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2020-10-29T05:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Appending two  datasets through proc sql</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Appending-two-datasets-through-proc-sql/m-p/695095#M33560</link>
      <description>&lt;P&gt;Remove ";" after insert into. As in:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data apnd1;
	input Siteno $ Subid Age;
	cards;
S1 101 23
S1 102 46
S1 103 56
;
run;

data apnd2;
	input Siteno $ Subid Age;
	cards;
S2 201 23
S2 202 46
S2 203 56
;
run;

proc sql;
	insert into apnd1 select * from apnd2;
quit;

proc print noobs data=apnd1;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Oct 2020 05:31:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Appending-two-datasets-through-proc-sql/m-p/695095#M33560</guid>
      <dc:creator>unison</dc:creator>
      <dc:date>2020-10-29T05:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Appending two  datasets through proc sql</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Appending-two-datasets-through-proc-sql/m-p/695096#M33561</link>
      <description>&lt;P&gt;Why do you want to write more code than necessary? Proc append is designed for appending dataset, use it!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 05:34:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Appending-two-datasets-through-proc-sql/m-p/695096#M33561</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2020-10-29T05:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Appending two  datasets through proc sql</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Appending-two-datasets-through-proc-sql/m-p/695100#M33563</link>
      <description>ThanK you&lt;BR /&gt;Unison&lt;BR /&gt;In proc append we can append only two datasets in datastep we can append 100 datasets with set statement&lt;BR /&gt;so how many datasets we can append using proc sql method like above code</description>
      <pubDate>Thu, 29 Oct 2020 06:14:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Appending-two-datasets-through-proc-sql/m-p/695100#M33563</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2020-10-29T06:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Appending two  datasets through proc sql</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Appending-two-datasets-through-proc-sql/m-p/695104#M33564</link>
      <description>&lt;P&gt;There is no defined limit to the number of INSERT statements you can write in SQL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But it's wrong that PROC APPEND can only append one dataset in one operation; create a data step view containing all the datasets to be appended, and use that in the DATA= option of PROC APPEND.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 06:30:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Appending-two-datasets-through-proc-sql/m-p/695104#M33564</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-10-29T06:30:41Z</dc:date>
    </item>
  </channel>
</rss>

