<?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 do you layout your PROC SQL code? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-do-you-layout-your-PROC-SQL-code/m-p/92597#M26367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The last but not the least.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi29/258-29.pdf" title="http://www2.sas.com/proceedings/sugi29/258-29.pdf"&gt;http://www2.sas.com/proceedings/sugi29/258-29.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi31/123-31.pdf" title="http://www2.sas.com/proceedings/sugi31/123-31.pdf"&gt;http://www2.sas.com/proceedings/sugi31/123-31.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nesug.org/Proceedings/nesug09/po/po02.pdf" title="http://www.nesug.org/Proceedings/nesug09/po/po02.pdf"&gt;http://www.nesug.org/Proceedings/nesug09/po/po02.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Aug 2012 03:25:26 GMT</pubDate>
    <dc:creator>sassharp</dc:creator>
    <dc:date>2012-08-15T03:25:26Z</dc:date>
    <item>
      <title>How do you layout your PROC SQL code?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-you-layout-your-PROC-SQL-code/m-p/92589#M26359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been searching through google (and SAS discussions) for optimal and efficient lay out for SQL code, so that it is easy to read and debug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's how I would generally layout my code, but I'm really interested in seeing your layout!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;PROC&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;create&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; foo &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;as&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;select&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a.column_1, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b.column_2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; padding-left: 90px;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;CASE&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; padding-left: 120px;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;WHEN b.column_3 = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;"Something"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; THEN &lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; padding-left: 120px;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;WHEN b.column_3 = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;"Something else"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; THEN &lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;2&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; padding-left: 120px;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ELSE &lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;3&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; padding-left: 90px;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;END &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; new_column_3&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: blue; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; padding-left: 90px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt;table_1 &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: blue; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt; a&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; padding-left: 120px;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;left&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;join&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; padding-left: 90px;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;table_2 &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; b&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; padding-left: 90px;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;on a.primary_key = b.primary_key&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; padding-left: 90px;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; a.secondary_key = b.secondary_key&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&amp;nbsp; a.column_1 = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;"Value"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; b.column_2 = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;"Value"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;QUIT&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 21:47:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-you-layout-your-PROC-SQL-code/m-p/92589#M26359</guid>
      <dc:creator>jp</dc:creator>
      <dc:date>2012-08-13T21:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do you layout your PROC SQL code?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-you-layout-your-PROC-SQL-code/m-p/92590#M26360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not just semi-colons - place commas at the beginning of a line&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 21:51:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-you-layout-your-PROC-SQL-code/m-p/92590#M26360</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2012-08-13T21:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do you layout your PROC SQL code?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-you-layout-your-PROC-SQL-code/m-p/92591#M26361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wish I had the patience to be that neat! &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;And then, when I paste to this forum my wonderful indentation gets all squashed. :smileyangry:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 22:11:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-you-layout-your-PROC-SQL-code/m-p/92591#M26361</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-08-13T22:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do you layout your PROC SQL code?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-you-layout-your-PROC-SQL-code/m-p/92592#M26362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter, Can you explain your comment?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only things I would have suggested are (1) indenting each section more so that select is indented more than create, create indented more than from, etc. and (2) putting the final semicolon on a separate line .. indented the same amount at the create statement.&amp;nbsp; Although, even those, are just my own preferences and, as we all know, I am not really a programmer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 22:18:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-you-layout-your-PROC-SQL-code/m-p/92592#M26362</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-08-13T22:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do you layout your PROC SQL code?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-you-layout-your-PROC-SQL-code/m-p/92593#M26363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Art&lt;/P&gt;&lt;P&gt;I saw a ; before the quit.&lt;/P&gt;&lt;P&gt;but perhaps that was an abberation&lt;/P&gt;&lt;P&gt;For part of my sql syntax style, I have adopted the style offered by the DESCRIBE VIEW layout.&lt;/P&gt;&lt;P&gt;Another part of the syntax style relates to that issue of the semicolon - I never place the comma at the end of the line - only at the beginning, when making the list of columns selected vertical&lt;/P&gt;&lt;P&gt;select a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , b &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , c&lt;/P&gt;&lt;P&gt;&amp;nbsp; from somewhere&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;A better example might have helped.&lt;/P&gt;&lt;P&gt;The style ensures you see the commas more easily, and can easily move lines around.&lt;/P&gt;&lt;P&gt;Again, the semicolon is placed where it stands out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 21:34:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-you-layout-your-PROC-SQL-code/m-p/92593#M26363</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2012-08-14T21:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do you layout your PROC SQL code?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-you-layout-your-PROC-SQL-code/m-p/92594#M26364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter: thanks!&amp;nbsp; And, I agree, it is quite easy to read that way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 21:49:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-you-layout-your-PROC-SQL-code/m-p/92594#M26364</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-08-14T21:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do you layout your PROC SQL code?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-you-layout-your-PROC-SQL-code/m-p/92595#M26365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;by the way, the sheer convenience of the CTRL+i in EG4.3+ "might" persuade me to adopt that layout, but it's just not good enough, yet.&lt;/P&gt;&lt;P&gt;When do you think we might get a few more controls on that layout style?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 21:58:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-you-layout-your-PROC-SQL-code/m-p/92595#M26365</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2012-08-14T21:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do you layout your PROC SQL code?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-you-layout-your-PROC-SQL-code/m-p/92596#M26366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"And then, when I paste to this forum my wonderful indentation gets all squashed."&lt;/P&gt;&lt;P&gt;PG, this requires more patience as well: one more step will get you there: SAS edit copy-paste to MS-word copy-paste to Here, instead of direct copy-paste to here from SAS editor. &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haikuo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 22:00:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-you-layout-your-PROC-SQL-code/m-p/92596#M26366</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2012-08-14T22:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do you layout your PROC SQL code?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-you-layout-your-PROC-SQL-code/m-p/92597#M26367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The last but not the least.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi29/258-29.pdf" title="http://www2.sas.com/proceedings/sugi29/258-29.pdf"&gt;http://www2.sas.com/proceedings/sugi29/258-29.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi31/123-31.pdf" title="http://www2.sas.com/proceedings/sugi31/123-31.pdf"&gt;http://www2.sas.com/proceedings/sugi31/123-31.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nesug.org/Proceedings/nesug09/po/po02.pdf" title="http://www.nesug.org/Proceedings/nesug09/po/po02.pdf"&gt;http://www.nesug.org/Proceedings/nesug09/po/po02.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 03:25:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-you-layout-your-PROC-SQL-code/m-p/92597#M26367</guid>
      <dc:creator>sassharp</dc:creator>
      <dc:date>2012-08-15T03:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do you layout your PROC SQL code?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-you-layout-your-PROC-SQL-code/m-p/92598#M26368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"And then, when I paste to this forum my wonderful indentation gets all squashed."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using blanks for indention and when I'm posting code to this forum I always first copy the code from the SAS editor to Notepad++. This way I keep all my indentions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe another way would be to paste into the advanced editor. Just look at the OP's post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the same layout style like Peter.C - at least for my more serious professional code. Here in this forum I'm sometimes too lazy for it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 11:04:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-you-layout-your-PROC-SQL-code/m-p/92598#M26368</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2012-08-15T11:04:13Z</dc:date>
    </item>
  </channel>
</rss>

