<?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: Delete rows in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Delete-rows/m-p/688806#M37166</link>
    <description>&lt;P&gt;I don't have SAS here (can't test) but try to make comparisons neutral, always. For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;upcase(strip(location)) = "WORLD"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lowcase works too.&lt;/P&gt;</description>
    <pubDate>Sun, 04 Oct 2020 23:51:20 GMT</pubDate>
    <dc:creator>AlanC</dc:creator>
    <dc:date>2020-10-04T23:51:20Z</dc:date>
    <item>
      <title>Delete rows</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Delete-rows/m-p/688804#M37165</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I would like to delete the rows where the location is "World". This is my code and it doesn't delete it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DELETE FROM d1.COVID_DATA&lt;BR /&gt;WHERE location="world";&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 23:30:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Delete-rows/m-p/688804#M37165</guid>
      <dc:creator>Feksan</dc:creator>
      <dc:date>2020-10-04T23:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Delete rows</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Delete-rows/m-p/688806#M37166</link>
      <description>&lt;P&gt;I don't have SAS here (can't test) but try to make comparisons neutral, always. For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;upcase(strip(location)) = "WORLD"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lowcase works too.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 23:51:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Delete-rows/m-p/688806#M37166</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2020-10-04T23:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Delete rows</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Delete-rows/m-p/688811#M37167</link>
      <description>&lt;P&gt;Is that the full code you ran?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That wouldn't be valid, you ned to wrap your code in a proc or data step for starters.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it isn't the full code, please post the actual code and indicate what errors you received or why you think it isn't working. As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13798"&gt;@AlanC&lt;/a&gt;&amp;nbsp;indicated the case does need to match as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
delete from d1.covid_data
where lowcase(location) = 'world';
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/350608"&gt;@Feksan&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello.&lt;/P&gt;
&lt;P&gt;I would like to delete the rows where the location is "World". This is my code and it doesn't delete it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DELETE FROM d1.COVID_DATA&lt;BR /&gt;WHERE location="world";&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 01:27:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Delete-rows/m-p/688811#M37167</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-10-05T01:27:08Z</dc:date>
    </item>
  </channel>
</rss>

