<?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: Hash Table in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452850#M114325</link>
    <description>&lt;P&gt;Dear novinosrin,&lt;/P&gt;&lt;P&gt;sorry, my mistake. I tried to make an other example before, but switched to the current one, but I may have copied the wrong table.&lt;/P&gt;&lt;P&gt;Table b Looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data b;&lt;BR /&gt;input date $ customerId $ wealth $ Adress $;&lt;BR /&gt;datalines;&lt;BR /&gt;01JAN01&amp;nbsp;1 100000 Stockholm&lt;/P&gt;&lt;P&gt;01JAN01&amp;nbsp;2 300000 Paris&lt;BR /&gt;01FEB01 1 120000 Munich&lt;/P&gt;&lt;P&gt;01MAR01&amp;nbsp;1 130000 New York&lt;/P&gt;&lt;P&gt;01MAR01&amp;nbsp;2 200000 Cologne&lt;/P&gt;&lt;P&gt;01MAR01&amp;nbsp;3 500000 London&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Apr 2018 14:52:57 GMT</pubDate>
    <dc:creator>mrzlatan91</dc:creator>
    <dc:date>2018-04-10T14:52:57Z</dc:date>
    <item>
      <title>Hash Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452777#M114308</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 2 Tables with a One-To-Many Relationship.&lt;/P&gt;&lt;P&gt;The first Table, lets say Table a,&amp;nbsp;is a big Table which contains the columns Date, customerID and Revenue.&lt;/P&gt;&lt;P&gt;The second Table b contains Date, customerID, wealth and adress.&amp;nbsp;but only of a few (premium) rich&amp;nbsp;customers.&lt;/P&gt;&lt;P&gt;It´s possible, that we have more than one Observations with the same Date and Customer ID in Table 1 (If he buys more than one products in one month),&lt;/P&gt;&lt;P&gt;in Table b, only&amp;nbsp;one Observation for each Date/CustomerID-Combination is possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, the Tables could look like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data a;&lt;BR /&gt;input date $ customerId $ Revenue $ ;&lt;BR /&gt;datalines;&lt;BR /&gt;01JAN01&amp;nbsp;1 10&lt;/P&gt;&lt;P&gt;01JAN01&amp;nbsp;1 20&lt;/P&gt;&lt;P&gt;01JAN01&amp;nbsp;2 30&lt;BR /&gt;01FEB01 1 400&lt;/P&gt;&lt;P&gt;01FEB01&amp;nbsp;2 50&lt;/P&gt;&lt;P&gt;01FEB01&amp;nbsp;3 60&lt;/P&gt;&lt;P&gt;01FEB01&amp;nbsp;4 30&lt;/P&gt;&lt;P&gt;01MAR01&amp;nbsp;1 60&lt;/P&gt;&lt;P&gt;01MAR01&amp;nbsp;2 30&lt;/P&gt;&lt;P&gt;01APR01&amp;nbsp;1 60&lt;/P&gt;&lt;P&gt;01APR01&amp;nbsp;2 60&lt;/P&gt;&lt;P&gt;01MAY01&amp;nbsp;1 800&lt;/P&gt;&lt;P&gt;01MAY01&amp;nbsp;2 608&lt;/P&gt;&lt;P&gt;01MAY01&amp;nbsp;2 67&lt;/P&gt;&lt;P&gt;01MAY01&amp;nbsp;4 65&lt;/P&gt;&lt;P&gt;01MAY01&amp;nbsp;5 644&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And Table b could look like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data b;&lt;BR /&gt;input date $ customerId $ wealth $ Adress $;&lt;BR /&gt;datalines;&lt;BR /&gt;01JAN01&amp;nbsp;1 1000 Stockholm&lt;/P&gt;&lt;P&gt;01JAN01&amp;nbsp;2 2000 Paris&lt;BR /&gt;01FEB01 1 4000 Munich&lt;/P&gt;&lt;P&gt;01MAR01&amp;nbsp;1 6000 New York&lt;/P&gt;&lt;P&gt;01MAR01&amp;nbsp;2 3000 Cologne&lt;/P&gt;&lt;P&gt;01MAR01&amp;nbsp;3 3000 London&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I want to make an Inner Join to join both Tables when a.Date = b.Date and a.CustomerID = b.CustomerID.&lt;/P&gt;&lt;P&gt;The final table should have the following columns: date, customerID, Revenue and wealth.&lt;/P&gt;&lt;P&gt;In case that the criteria is met for more combinations of table a, the desired table should contain all rows.&lt;/P&gt;&lt;P&gt;So in this Scenario,&amp;nbsp;the final table should look like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;CustomerID&lt;/TD&gt;&lt;TD&gt;Revenue&lt;/TD&gt;&lt;TD&gt;Wealth&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Jan 01&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;100000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Jan 01&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;100000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Jan 01&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;300000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Feb 01&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;120000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Mrz 01&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;510&lt;/TD&gt;&lt;TD&gt;130000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Mrz 01&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;200000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Mrz 01&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;500000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would not be a Problem with SQL, but my Professor wants that I use a Hash-Table, because for large datasets, this would be more efficient.&lt;/P&gt;&lt;P&gt;Could someone kindly provide me a Hash Solution for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: This is just a simplified example that I´ve made. Pls don´t care about the&amp;nbsp;sense of the data, let´s say rich customers can Switch their adress and wealth&amp;nbsp;every month&amp;nbsp;or&amp;nbsp;can&amp;nbsp;be banned from the premium list in every month&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the kindest regards,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 12:10:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452777#M114308</guid>
      <dc:creator>mrzlatan91</dc:creator>
      <dc:date>2018-04-10T12:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Hash Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452781#M114310</link>
      <description>&lt;P&gt;We are not really here to answer your course questions.&amp;nbsp; Investigate and learn it and come back with any specific questions:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sas.com/content/dam/SAS/en_ca/User%20Group%20Presentations/Regina-User-Group/ShaunKaufmann-IntroHash-Sept2013.pdf" target="_blank"&gt;https://www.sas.com/content/dam/SAS/en_ca/User%20Group%20Presentations/Regina-User-Group/ShaunKaufmann-IntroHash-Sept2013.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 12:32:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452781#M114310</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-04-10T12:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Hash Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452784#M114311</link>
      <description>&lt;P&gt;Well,this is not really a course, It´s a part of my Master Thesis.&lt;/P&gt;&lt;P&gt;I´ve tried to solve my Problem but unfortunately I´m not very familiar with Hash Tables,&lt;/P&gt;&lt;P&gt;I´m only able to solve the Problem with SQL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, If anyone else could help me I´d really appreciate it.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 12:44:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452784#M114311</guid>
      <dc:creator>mrzlatan91</dc:creator>
      <dc:date>2018-04-10T12:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hash Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452789#M114312</link>
      <description>&lt;P&gt;Have you read the documentation? Using hash tables is well explained in numerous papers, e.g. &lt;A href="https://www.google.de/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;ved=0ahUKEwjLi6yy4K_aAhWmJZoKHUadCX8QFggnMAA&amp;amp;url=https%3A%2F%2Fsupport.sas.com%2Fresources%2Fpapers%2Fproceedings15%2F3024-2015.pdf&amp;amp;usg=AOvVaw0sdasajeoY-CiKjDSr8geR" target="_self"&gt;Introduction to SAS® Hash Objects - SAS Support&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 12:55:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452789#M114312</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2018-04-10T12:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Hash Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452798#M114316</link>
      <description>&lt;P&gt;Just to add a little bit of a framework, here are the things you will need to learn.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to load table B into a hash table, where the combination of CustomerID and Date are the keys, and wealth and address are the data elements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the same DATA step, read in observations from table A.&amp;nbsp; For each, see if the hash table contains a match.&amp;nbsp; If so, retrieve the matching data from the hash table and output the observation.&amp;nbsp; (If no match, do nothing.)&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 13:07:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452798#M114316</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-04-10T13:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Hash Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452812#M114317</link>
      <description>&lt;P&gt;Thanks for your help. Ive tried this, but I´m not really sure if this is the right solution for my Problem.&lt;/P&gt;&lt;P&gt;How can I define that I want a one-to-many relationship?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data desired;&lt;/P&gt;&lt;P&gt;if 0 then set work.b;&amp;nbsp;&amp;nbsp; /* loading in my small table b*/&lt;/P&gt;&lt;P&gt;declare hash VS(dataset:”work.b”);&lt;/P&gt;&lt;P&gt;rc=VS.defineKey(“date”,”customerid”); /*key = date &amp;amp; customer id */&lt;/P&gt;&lt;P&gt;rc=VS.defineData(“date”,”customerid”, “wealth”); /*without address, cause I don’t want it*/&lt;/P&gt;&lt;P&gt;rc=VS.definedone();&lt;/P&gt;&lt;P&gt;do until(eof);&lt;/P&gt;&lt;P&gt;set work.a end=eof; /*loading my big table */&lt;/P&gt;&lt;P&gt;call missing(date, customerid, revenue); /*Is This right? I don’t really get what call missing does to be honest */&lt;/P&gt;&lt;P&gt;rc=VS.find();&lt;/P&gt;&lt;P&gt;if rc=0 then output; /*because I want an inner join */&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;stop;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 13:27:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452812#M114317</guid>
      <dc:creator>mrzlatan91</dc:creator>
      <dc:date>2018-04-10T13:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Hash Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452818#M114318</link>
      <description>&lt;P&gt;Did the result match your expectation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some minor fixes, but untested:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data desired;
   if 0 then set work.b(keep=date customerid wealth);   /* loading in my small table b*/

   if _n_ = 1 then do;
      declare hash VS(dataset:"work.b");
      rc=VS.defineKey("date","customerid"); /*key = date &amp;amp; customer id */
      rc=VS.defineData("wealth"); /*without address, cause I don’t want it */
      rc=VS.definedone();

      call missing(wealth);
   end;
   
   set work.a;

   if vs.find() = 0;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: Added keep-option to&amp;nbsp;&amp;nbsp;if 0 then set work.b &lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 13:37:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452818#M114318</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2018-04-10T13:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Hash Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452844#M114323</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/186452"&gt;@mrzlatan91&lt;/a&gt;wrote:&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So in this Scenario,&amp;nbsp;the final table should look like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;CustomerID&lt;/TD&gt;&lt;TD&gt;Revenue&lt;/TD&gt;&lt;TD&gt;Wealth&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Jan 01&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF6600"&gt;100000&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Jan 01&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF6600"&gt;100000&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Jan 01&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF6600"&gt;300000&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Feb 01&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF6600"&gt;120000&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Mrz 01&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;510&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF9900"&gt;130000&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Mrz 01&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF6600"&gt;200000&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Mrz 01&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF6600"&gt;500000&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would not be a Problem with SQL, but my Professor wants that I use a Hash-Table, because for large datasets, this would be more efficient.&lt;/P&gt;&lt;P&gt;Could someone kindly provide me a Hash Solution for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: This is just a simplified example that I´ve made. Pls don´t care about the&amp;nbsp;sense of the data, let´s say rich customers can Switch their adress and wealth&amp;nbsp;every month&amp;nbsp;or&amp;nbsp;can&amp;nbsp;be banned from the premium list in every month&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the kindest regards,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Good morning, I fail to understand why your wealth values in your final table are way off than what it is in data b?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 14:37:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452844#M114323</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-04-10T14:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hash Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452850#M114325</link>
      <description>&lt;P&gt;Dear novinosrin,&lt;/P&gt;&lt;P&gt;sorry, my mistake. I tried to make an other example before, but switched to the current one, but I may have copied the wrong table.&lt;/P&gt;&lt;P&gt;Table b Looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data b;&lt;BR /&gt;input date $ customerId $ wealth $ Adress $;&lt;BR /&gt;datalines;&lt;BR /&gt;01JAN01&amp;nbsp;1 100000 Stockholm&lt;/P&gt;&lt;P&gt;01JAN01&amp;nbsp;2 300000 Paris&lt;BR /&gt;01FEB01 1 120000 Munich&lt;/P&gt;&lt;P&gt;01MAR01&amp;nbsp;1 130000 New York&lt;/P&gt;&lt;P&gt;01MAR01&amp;nbsp;2 200000 Cologne&lt;/P&gt;&lt;P&gt;01MAR01&amp;nbsp;3 500000 London&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 14:52:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452850#M114325</guid>
      <dc:creator>mrzlatan91</dc:creator>
      <dc:date>2018-04-10T14:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Hash Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452860#M114328</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/186452"&gt;@mrzlatan91&lt;/a&gt;&amp;nbsp;No worries mate. It appears&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15475"&gt;@andreas_lds&lt;/a&gt;&amp;nbsp;has given you the solution. Have you tested it?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 15:13:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452860#M114328</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-04-10T15:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Hash Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452861#M114329</link>
      <description>&lt;P&gt;Unfortunately, I can only test it on friday.&lt;/P&gt;&lt;P&gt;I´ll tell you then if it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But thanks mate &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 15:18:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452861#M114329</guid>
      <dc:creator>mrzlatan91</dc:creator>
      <dc:date>2018-04-10T15:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hash Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452976#M114377</link>
      <description>&lt;P&gt;Alex:&lt;/P&gt;&lt;P&gt;Learning to link data tables via hash indexes offers you a chance to learn more about how database systems optimize inner joins. I suspect that your professor knows that in SAS SQL an ordinary inner join of two tables, if a hash index of one will fit into memory, will optimize as a scan of a dynamic hash index. Even so, once you learn how to program the inner join using a hash index, it will be easier to learn how to program a left join using a hash index. The SAS SQL compiler does not, last time I checked, optimize a left join. So except for academic purposes, a SAS SQL SELECT ... FROM r1 INNER JOIN r2 ON r1.key = r2.key will usually execute as fast or faster than a Data step that generates a hash index. Over on the SAS-L side, that discussion has continued off and on for decades.&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 21:59:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hash-Table/m-p/452976#M114377</guid>
      <dc:creator>_s_</dc:creator>
      <dc:date>2018-04-10T21:59:07Z</dc:date>
    </item>
  </channel>
</rss>

