<?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 conditionally in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/delete-rows-conditionally/m-p/793678#M254403</link>
    <description>Thank You Japelin</description>
    <pubDate>Tue, 01 Feb 2022 07:06:25 GMT</pubDate>
    <dc:creator>BrahmanandaRao</dc:creator>
    <dc:date>2022-02-01T07:06:25Z</dc:date>
    <item>
      <title>delete rows conditionally</title>
      <link>https://communities.sas.com/t5/SAS-Programming/delete-rows-conditionally/m-p/793670#M254398</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table students (name varchar(12),
address varchar(20),
marks num(3));
quit;


proc sql;
insert into students 
values('Anand','Hyderabad',80)
values('Siva','Bangalore',65)
values('aditya','Rjy',65)
values('Krishna','Pune',65)
values('vasu','Vja',65);
quit;



proc sql;
delete from students
where  name='Krishna' marks=65;
quit;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Here i want to delete kirshna marks&amp;nbsp; how to delete rows conditionally&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 06:37:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/delete-rows-conditionally/m-p/793670#M254398</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2022-02-01T06:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: delete rows conditionally</title>
      <link>https://communities.sas.com/t5/SAS-Programming/delete-rows-conditionally/m-p/793675#M254400</link>
      <description>&lt;P&gt;You can delete rows&amp;nbsp;this way.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
delete from students
where  name='Krishna' and marks=65;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
delete from students
where  name='Krishna';
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;To specify multiple conditions, use And, Or, etc. to connect them.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 06:52:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/delete-rows-conditionally/m-p/793675#M254400</guid>
      <dc:creator>japelin</dc:creator>
      <dc:date>2022-02-01T06:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: delete rows conditionally</title>
      <link>https://communities.sas.com/t5/SAS-Programming/delete-rows-conditionally/m-p/793676#M254401</link>
      <description>&lt;P&gt;How delete krishna's marks only&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 06:55:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/delete-rows-conditionally/m-p/793676#M254401</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2022-02-01T06:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: delete rows conditionally</title>
      <link>https://communities.sas.com/t5/SAS-Programming/delete-rows-conditionally/m-p/793677#M254402</link>
      <description>&lt;P&gt;If you want to delete the value of a specific column instead of a row, use update.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
proc sql;
update students 
set marks=null /* set null or . */
where  name='Krishna';
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 01 Feb 2022 07:00:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/delete-rows-conditionally/m-p/793677#M254402</guid>
      <dc:creator>japelin</dc:creator>
      <dc:date>2022-02-01T07:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: delete rows conditionally</title>
      <link>https://communities.sas.com/t5/SAS-Programming/delete-rows-conditionally/m-p/793678#M254403</link>
      <description>Thank You Japelin</description>
      <pubDate>Tue, 01 Feb 2022 07:06:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/delete-rows-conditionally/m-p/793678#M254403</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2022-02-01T07:06:25Z</dc:date>
    </item>
  </channel>
</rss>

