<?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 proc sql preserve_comments option inside a macro in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-preserve-comments-option-inside-a-macro/m-p/46133#M12242</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; thank you for your reply.&lt;/P&gt;&lt;P&gt;The problem was with the Oracle Hint. &lt;/P&gt;&lt;P&gt;and here is the solution:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/7/290.html"&gt;http://support.sas.com/kb/7/290.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Feb 2012 06:52:56 GMT</pubDate>
    <dc:creator>gil</dc:creator>
    <dc:date>2012-02-06T06:52:56Z</dc:date>
    <item>
      <title>proc sql preserve_comments option inside a macro</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-preserve-comments-option-inside-a-macro/m-p/46131#M12240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;hi. &lt;/P&gt;&lt;P style="text-align: left;"&gt;im using the sql procedure to retrieve data from an oracle server, and im trying to use Hints .&lt;/P&gt;&lt;P style="text-align: left;"&gt;The problem is that the proc sql is inside a macro. When i run the SQL procedure not as part of the&amp;nbsp; macro statement it works just fine ,&lt;/P&gt;&lt;P style="text-align: left;"&gt;but when it is inside the macro it looks like the Oracle query optimizer is ignoring the Hints.&lt;/P&gt;&lt;P style="text-align: left;"&gt;Is there a problem to use&amp;nbsp; preserve_comments inside a macro ? or am i doing anything wrong? &lt;/P&gt;&lt;P style="text-align: left;"&gt;thanks &lt;/P&gt;&lt;P style="text-align: left;"&gt;gil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Feb 2012 07:38:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-preserve-comments-option-inside-a-macro/m-p/46131#M12240</guid>
      <dc:creator>gil</dc:creator>
      <dc:date>2012-02-05T07:38:31Z</dc:date>
    </item>
    <item>
      <title>proc sql preserve_comments option inside a macro</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-preserve-comments-option-inside-a-macro/m-p/46132#M12241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You didn't show your macro, so I'll just take a guess.&amp;nbsp; In your macro, did you specify preserve_comments as an argument in your connect statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Feb 2012 17:41:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-preserve-comments-option-inside-a-macro/m-p/46132#M12241</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-02-05T17:41:28Z</dc:date>
    </item>
    <item>
      <title>proc sql preserve_comments option inside a macro</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-preserve-comments-option-inside-a-macro/m-p/46133#M12242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; thank you for your reply.&lt;/P&gt;&lt;P&gt;The problem was with the Oracle Hint. &lt;/P&gt;&lt;P&gt;and here is the solution:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/7/290.html"&gt;http://support.sas.com/kb/7/290.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2012 06:52:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-preserve-comments-option-inside-a-macro/m-p/46133#M12242</guid>
      <dc:creator>gil</dc:creator>
      <dc:date>2012-02-06T06:52:56Z</dc:date>
    </item>
  </channel>
</rss>

