<?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: ERROR: Subquery evaluated to more than one row. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Subquery-evaluated-to-more-than-one-row/m-p/765739#M242562</link>
    <description>&lt;P&gt;When you get an error in the log, show us the log. Specifically, we need to see the &lt;STRONG&gt;ENTIRE &lt;/STRONG&gt;log for this PROC, all of it, every single character, nothing chopped out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please copy the log as text and paste it into the window that appears when you click on the &amp;lt;/&amp;gt; icon. &lt;STRONG&gt;DO NOT SKIP THIS&lt;/STRONG&gt; &lt;STRONG&gt;STEP.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And, please, from now on show us the log whenever you get errors in the log, don't make us ask for it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Sep 2021 20:56:35 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2021-09-02T20:56:35Z</dc:date>
    <item>
      <title>ERROR: Subquery evaluated to more than one row.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Subquery-evaluated-to-more-than-one-row/m-p/765734#M242557</link>
      <description>&lt;P&gt;Hello All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recently started to code in sas and I need to figure out a specific difference. Example: (new number - old number)/ Old number = % Diff&lt;/P&gt;&lt;P&gt;This is my solution. I could not figure it out any other way but I keep getting this error. What does this mean? I am not sure if I understand what this means.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PROC SQL;&lt;BR /&gt;CREATE TABLE VS_Final_Grad_Rates_T2T AS&lt;BR /&gt;SELECT *,&lt;BR /&gt;((Certificate_Term-&lt;BR /&gt;(select Certificate_Term from&lt;BR /&gt;TERM_GRADS_ADD_TOT WHERE School_of_Major = a.School_of_Major AND&lt;BR /&gt;Num_Term_Sequence = a.Num_Term_Sequence-3))/(select Certificate_Term from&lt;BR /&gt;TERM_GRADS_ADD_TOT WHERE School_of_Major = a.School_of_Major AND&lt;BR /&gt;Num_Term_Sequence = a.Num_Term_Sequence - 3)) AS&lt;BR /&gt;Cert_Term_Difference format = percent8.2,&lt;BR /&gt;((Degree_Term-&lt;BR /&gt;(select Degree_Term from&lt;BR /&gt;TERM_GRADS_ADD_TOT WHERE School_of_Major = a.School_of_Major AND&lt;BR /&gt;Num_Term_Sequence = a.Num_Term_Sequence-3))/(select Degree_Term from&lt;BR /&gt;TERM_GRADS_ADD_TOT WHERE School_of_Major = a.School_of_Major AND&lt;BR /&gt;Num_Term_Sequence = a.Num_Term_Sequence - 3)) AS&lt;BR /&gt;Degree_Term_Difference format = percent8.2,&lt;BR /&gt;((Total_Grads_Term-&lt;BR /&gt;(select Total_Grads_Term from&lt;BR /&gt;TERM_GRADS_ADD_TOT WHERE School_of_Major = a.School_of_Major AND&lt;BR /&gt;Num_Term_Sequence = a.Num_Term_Sequence-3))/(select Total_Grads_Term from&lt;BR /&gt;TERM_GRADS_ADD_TOT WHERE School_of_Major = a.School_of_Major AND&lt;BR /&gt;Num_Term_Sequence = a.Num_Term_Sequence - 3)) AS&lt;BR /&gt;Total_Awards_Term_Difference format = percent8.2&lt;BR /&gt;FROM WORK.TERM_GRADS_ADD_TOT AS a;&lt;BR /&gt;Quit;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 20:44:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Subquery-evaluated-to-more-than-one-row/m-p/765734#M242557</guid>
      <dc:creator>andimo89</dc:creator>
      <dc:date>2021-09-02T20:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Subquery evaluated to more than one row.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Subquery-evaluated-to-more-than-one-row/m-p/765739#M242562</link>
      <description>&lt;P&gt;When you get an error in the log, show us the log. Specifically, we need to see the &lt;STRONG&gt;ENTIRE &lt;/STRONG&gt;log for this PROC, all of it, every single character, nothing chopped out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please copy the log as text and paste it into the window that appears when you click on the &amp;lt;/&amp;gt; icon. &lt;STRONG&gt;DO NOT SKIP THIS&lt;/STRONG&gt; &lt;STRONG&gt;STEP.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And, please, from now on show us the log whenever you get errors in the log, don't make us ask for it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 20:56:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Subquery-evaluated-to-more-than-one-row/m-p/765739#M242562</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-09-02T20:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Subquery evaluated to more than one row.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Subquery-evaluated-to-more-than-one-row/m-p/765740#M242563</link>
      <description>As this is my third question, on this community. I apologize for not having the wherewithal to post the log. I will do so shortly.</description>
      <pubDate>Thu, 02 Sep 2021 20:58:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Subquery-evaluated-to-more-than-one-row/m-p/765740#M242563</guid>
      <dc:creator>andimo89</dc:creator>
      <dc:date>2021-09-02T20:58:21Z</dc:date>
    </item>
  </channel>
</rss>

