<?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: PROC SQL to populate temp table with SAS dataset in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-to-populate-temp-table-with-SAS-dataset/m-p/171232#M44201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;When you reference implicit SQL as 'SQL formulated in the SAS flavor', does that mean if I want to use TSQL (SQL Server flavor) I need to use an explicit connection, otherwise with the implicit connection I'm limited to the SAS flavor of SQL?&amp;nbsp; &lt;/P&gt;
&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's correct. &lt;/P&gt;&lt;P&gt;To use Window functions you'll need to use explicit pass through. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jan 2015 17:12:13 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2015-01-07T17:12:13Z</dc:date>
    <item>
      <title>PROC SQL to populate temp table with SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-to-populate-temp-table-with-SAS-dataset/m-p/171226#M44195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to copy the contents of a SAS dataset into a SQL Server temporary table that I'm creating via a connection.&amp;nbsp; From my research, I've been able to figure out how to create the temporary table in SQL Server and insert data using the VALUES option.&amp;nbsp; Below is the code I have that does that successfully:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;001 proc sql;&lt;/P&gt;&lt;P&gt;002 /*TAKEN FROM: &lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/63647/HTML/default/viewer.htm#a002677192.htm*/"&gt;http://support.sas.com/documentation/cdl/en/acreldb/63647/HTML/default/viewer.htm#a002677192.htm*/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;003&amp;nbsp;&amp;nbsp;&amp;nbsp; connect to odbc as dport (dsn=SS_CNX connection=shared);&lt;/P&gt;&lt;P&gt;004&amp;nbsp;&amp;nbsp;&amp;nbsp; execute (create table #AAATEMP (CustID char(9))) by dport;&lt;/P&gt;&lt;P&gt;005&amp;nbsp;&amp;nbsp;&amp;nbsp; execute (INSERT INTO #AAATEMP(CustID)&lt;/P&gt;&lt;P&gt;006&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUES&lt;/P&gt;&lt;P&gt;007&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ('20090213A'),&lt;/P&gt;&lt;P&gt;008&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ('20090214B'),&lt;/P&gt;&lt;P&gt;009&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ('20090215D');&lt;/P&gt;&lt;P&gt;010&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ) by dport;&lt;/P&gt;&lt;P&gt;011&amp;nbsp; quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I have about 50,000 CustIDs to insert, I would like to just insert the contents of a SAS dataset that resides in my work directory.&amp;nbsp; Instead of the VALUES option, I'm shooting for a way to replace lines 006-009 above with a SELECT option:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;006&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT custid FROM work.cust_list;) by dport;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above approach gives the following error: "CLI execute error: [Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid object name 'work.ssn_list'."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From other research, it looked like the following may be another solution to replace lines 005-010 above, however this did not work:&lt;/P&gt;&lt;P&gt;005&amp;nbsp; data dport.'#AAATEMP'n;&lt;/P&gt;&lt;P&gt;006&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set work.cust_list;&lt;/P&gt;&lt;P&gt;007&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this alternative approach, I get an&amp;nbsp; invalid object name error for the #AAATEMP table.&amp;nbsp; (I have verified that the #AAATEMP table does exist).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any ideas for inserting the contents of a SAS dataset directly into a SQL Server temp table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stuart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 20:37:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-to-populate-temp-table-with-SAS-dataset/m-p/171226#M44195</guid>
      <dc:creator>stuart753</dc:creator>
      <dc:date>2015-01-06T20:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SQL to populate temp table with SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-to-populate-temp-table-with-SAS-dataset/m-p/171227#M44196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your research have you also found this link? &lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/67589/HTML/default/viewer.htm#p0he4t6yjfmkhpn16qrf0cdhllu6.htm" title="http://support.sas.com/documentation/cdl/en/acreldb/67589/HTML/default/viewer.htm#p0he4t6yjfmkhpn16qrf0cdhllu6.htm"&gt;SAS/ACCESS(R) 9.4 for Relational Databases: Reference, Sixth Edition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Referring to above link: I believe you could simply define a libname for temporary tables and then use PROC APPEND to load your table from work into SQL server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 21:12:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-to-populate-temp-table-with-SAS-dataset/m-p/171227#M44196</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2015-01-06T21:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SQL to populate temp table with SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-to-populate-temp-table-with-SAS-dataset/m-p/171228#M44197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're getting the error because your using Explicit SQL Pass through, which passes SQL commands directly to the SQL Server. The SQL server won't have access to your work table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to operate on both your SQL DB and data in your SAS workspace you'll need to use implicit pass through or connect to it via a libname. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option is to store the values in a macro variable and insert them into the DB that way, if the list is smaller than 64K characters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 21:32:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-to-populate-temp-table-with-SAS-dataset/m-p/171228#M44197</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-01-06T21:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SQL to populate temp table with SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-to-populate-temp-table-with-SAS-dataset/m-p/171229#M44198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reeza &amp;amp; Patrick, thank you both for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the additional information you provided, I now have a working solution (copied below).&amp;nbsp; Reeza, it seems as though my solution actually uses both an implicit connection and I'm connecting via a libname.&amp;nbsp; Can you confirm if I'm doing both? - and if it's necessary to do both, or is there another more efficient solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;libname&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;idport&amp;nbsp;&amp;nbsp; odbc&amp;nbsp; dsn=SS_DataPort&amp;nbsp;&amp;nbsp; Connection=Shared;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;&lt;STRONG&gt;proc &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;&lt;SPAN style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;&lt;STRONG&gt;sql&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background: white; color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;CREATE&lt;/SPAN&gt; &lt;SPAN style="background: white; color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;TABLE &lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;idport.'#AAATEMP'n (CustID &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;CHAR&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;&lt;STRONG&gt;9&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;));&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background: white; color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;INSERT&lt;/SPAN&gt; &lt;SPAN style="background: white; color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;INTO &lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;idport.'#AAATEMP'n&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;SELECT&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt; CustID &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;from &lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;work.cust_list;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background: white; color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;SELECT&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;from &lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;idport.'#AAATEMP'n;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;&lt;STRONG&gt;Quit;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 03:28:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-to-populate-temp-table-with-SAS-dataset/m-p/171229#M44198</guid>
      <dc:creator>stuart753</dc:creator>
      <dc:date>2015-01-07T03:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SQL to populate temp table with SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-to-populate-temp-table-with-SAS-dataset/m-p/171230#M44199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You connect via a libname and then use implicit SQL (SQL formulated in the SAS flavor). Have line "&lt;SPAN style="font-weight: bold; color: #545454; font-family: arial, sans-serif; font-size: small; background-color: #ffffff;"&gt;options&lt;/SPAN&gt;&lt;SPAN style="color: #545454; font-family: arial, sans-serif; font-size: small; background-color: #ffffff;"&gt; sastrace=',,,d' sastraceloc=saslog &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; color: #545454; font-family: arial, sans-serif; font-size: small; background-color: #ffffff;"&gt;nostsuffix&lt;/SPAN&gt;&lt;SPAN style="color: #545454; font-family: arial, sans-serif; font-size: small; background-color: #ffffff;"&gt;;&lt;/SPAN&gt;" before the Proc SQL and you can see in the SAS log what that SAS/Access engine does with this code and what gets translated into data base specific code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure you're creating a temporary table? According to the documentation (link I've posted) you should also have "dbmstemp=yes" as part of your libname statement.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 03:54:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-to-populate-temp-table-with-SAS-dataset/m-p/171230#M44199</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2015-01-07T03:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SQL to populate temp table with SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-to-populate-temp-table-with-SAS-dataset/m-p/171231#M44200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Patrick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That options statement was very helpful as it details all the steps being carried out.&amp;nbsp; Thank you for that tip.&amp;nbsp; I believe the table is getting deleted after the 'quit' statement executes.&amp;nbsp; Prior to that, I can see the temp table in SQL Server.&amp;nbsp; After the quit statement executes, the temp table is gone.&amp;nbsp; I added the dbmstemp=YES option to my libname statement in case I use this for other data sources that require it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you reference implicit SQL as 'SQL formulated in the SAS flavor', does that mean if I want to use TSQL (SQL Server flavor) I need to use an explicit connection, otherwise with the implicit connection I'm limited to the SAS flavor of SQL?&amp;nbsp; This may have been outlined in the documentation, however I'm not sure that I completely understood all of the documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ask because one option I may want for myself in the future is to use SQL Server 2012 window functions - and if I do, I'm thinking I'm going to be limited to using an explicit connection, can you confirm?&amp;nbsp;&amp;nbsp; (I believe I'm limited to an explicit connection because I did use a window function in the code above that uses an implicit connection and it failed.&amp;nbsp; Details in the log said the OVER clause was not recognized.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, I appreciate all your insight!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stuart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 13:30:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-to-populate-temp-table-with-SAS-dataset/m-p/171231#M44200</guid>
      <dc:creator>stuart753</dc:creator>
      <dc:date>2015-01-07T13:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SQL to populate temp table with SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-to-populate-temp-table-with-SAS-dataset/m-p/171232#M44201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;When you reference implicit SQL as 'SQL formulated in the SAS flavor', does that mean if I want to use TSQL (SQL Server flavor) I need to use an explicit connection, otherwise with the implicit connection I'm limited to the SAS flavor of SQL?&amp;nbsp; &lt;/P&gt;
&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's correct. &lt;/P&gt;&lt;P&gt;To use Window functions you'll need to use explicit pass through. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 17:12:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-to-populate-temp-table-with-SAS-dataset/m-p/171232#M44201</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-01-07T17:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SQL to populate temp table with SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-to-populate-temp-table-with-SAS-dataset/m-p/171233#M44202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Reeza for confirming.&amp;nbsp; I appreciate your help with educating me on this topic!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 22:11:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-to-populate-temp-table-with-SAS-dataset/m-p/171233#M44202</guid>
      <dc:creator>stuart753</dc:creator>
      <dc:date>2015-01-07T22:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SQL to populate temp table with SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-to-populate-temp-table-with-SAS-dataset/m-p/171234#M44203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the documentation:&lt;/P&gt;&lt;H2 class="xis-title" style="font-family: 'Source Sans Pro', arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; color: #353535; font-size: 1.2rem; margin-top: 0.5em; background-color: #ffffff;"&gt;SQL Pass-Through Facility&lt;/H2&gt;&lt;P class="xis-topicContent" style="font-family: 'Source Sans Pro', arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; color: #000000; font-size: 16px; background-color: #ffffff;"&gt;&lt;A id="p1vemrlzcpkahwn1p23gcvoorgrr" style="font-family: inherit;"&gt;&lt;/A&gt;&lt;/P&gt;&lt;DIV class="xis-paragraph" id="p0zvfg13z1jdrzn15qjw4yypz82c" style="margin-top: 1.4em;"&gt;The SQL pass-through facility uses &lt;SPAN class="xis-nobr"&gt;SAS/ACCESS&lt;/SPAN&gt; to connect to a DBMS and to send statements directly to the DBMS for execution. As an alternative to the &lt;SPAN class="xis-nobr"&gt;SAS/ACCESS&lt;/SPAN&gt; LIBNAME statement, this facility lets you use the SQL syntax of your DBMS. It supports any SQL that is not ANSI-standard that your DBMS supports.&lt;/DIV&gt;&lt;DIV class="xis-paragraph" style="margin-top: 1.4em;"&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/67589/HTML/default/viewer.htm#n0zrxodm0bij90n11r2fhkxrjit1.htm" title="http://support.sas.com/documentation/cdl/en/acreldb/67589/HTML/default/viewer.htm#n0zrxodm0bij90n11r2fhkxrjit1.htm"&gt;SAS/ACCESS(R) 9.4 for Relational Databases: Reference, Sixth Edition&lt;/A&gt;&lt;/DIV&gt;&lt;DIV class="xis-paragraph" id="p0zvfg13z1jdrzn15qjw4yypz82c" style="margin-top: 1.4em;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 22:35:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-to-populate-temp-table-with-SAS-dataset/m-p/171234#M44203</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2015-01-07T22:35:59Z</dc:date>
    </item>
  </channel>
</rss>

