<?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: Asking the experts / how to find the proper key between two sas or oracle table in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Asking-the-experts-how-to-find-the-proper-key-between-two-sas-or/m-p/457107#M29445</link>
    <description>&lt;P&gt;No, it's a separate product that has its own user interface and there would be a licensing cost. It is available as a standalone workstation product or as part of a SAS Data Quality server-based solution.&lt;/P&gt;
&lt;P&gt;If it isn't available to you now, then getting a new product just to meet a narrow need would not be a good choice in my opinion.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Apr 2018 22:52:40 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2018-04-24T22:52:40Z</dc:date>
    <item>
      <title>Asking the experts / how to find the proper key between two sas or oracle table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Asking-the-experts-how-to-find-the-proper-key-between-two-sas-or/m-p/455629#M29384</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have very little documentation on the tables available on the company server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Moreover, we are asked to create new table using proc sql create table as&lt;/P&gt;&lt;P&gt;and to achieve that we need to know the primary key of each table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;create table NewTable as&lt;/P&gt;&lt;P&gt;select A.*, B.customerNumber, B.phonenumber&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from Dataset1 A&lt;/P&gt;&lt;P&gt;left join Dataset2 B&lt;/P&gt;&lt;P&gt;on A.primarykey = B.primarykey&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;Quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, it becomes difficult to know which variables could be used as corresponding key number.&lt;/P&gt;&lt;P&gt;So my Question is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does it exist a program or a procedure to find the best key between two tables.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 14:53:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Asking-the-experts-how-to-find-the-proper-key-between-two-sas-or/m-p/455629#M29384</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2018-04-19T14:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Asking the experts / how to find the proper key between two sas or oracle table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Asking-the-experts-how-to-find-the-proper-key-between-two-sas-or/m-p/455750#M29390</link>
      <description>&lt;P&gt;I generally just use my Mk1 Eyeball and trial and error.&amp;nbsp; It's usually pretty obvious with most datasets what the primary and/or foriegn keys are or could be if they were setup halfway decent.&amp;nbsp; Sorry this isn't much help though.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 20:24:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Asking-the-experts-how-to-find-the-proper-key-between-two-sas-or/m-p/455750#M29390</guid>
      <dc:creator>Sven111</dc:creator>
      <dc:date>2018-04-19T20:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Asking the experts / how to find the proper key between two sas or oracle table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Asking-the-experts-how-to-find-the-proper-key-between-two-sas-or/m-p/455804#M29392</link>
      <description>&lt;P&gt;I know that it is simple to find the primary key of a dataset but it is not so simple to find the good keys between two datasets for which we have little information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2018 01:36:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Asking-the-experts-how-to-find-the-proper-key-between-two-sas-or/m-p/455804#M29392</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2018-04-20T01:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Asking the experts / how to find the proper key between two sas or oracle table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Asking-the-experts-how-to-find-the-proper-key-between-two-sas-or/m-p/456111#M29399</link>
      <description>&lt;P&gt;With Oracle tables you can examine the table schemas to see if physical, surrogate and foreign keys are set up on any columns. These may help in deciding what columns to join on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS tables don't have the equivalent of physical keys, but can have indexes and constraints applied to columns. In my experience these are not heavily used so the eyeball approach as mentioned by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/56496"&gt;@Sven111&lt;/a&gt; is your best bet.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2018 23:02:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Asking-the-experts-how-to-find-the-proper-key-between-two-sas-or/m-p/456111#M29399</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-04-20T23:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Asking the experts / how to find the proper key between two sas or oracle table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Asking-the-experts-how-to-find-the-proper-key-between-two-sas-or/m-p/456146#M29400</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/76331"&gt;@alepage&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;If you've got&amp;nbsp;the SAS DataFlux Data Management Studio licensed and available then you could use the data profiling task which also does primary key and foreign key analysis.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/dmov/68252/PDF/default/dmov.pdf&amp;nbsp;" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/dmov/68252/PDF/default/dmov.pdf&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Apr 2018 05:58:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Asking-the-experts-how-to-find-the-proper-key-between-two-sas-or/m-p/456146#M29400</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-04-21T05:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Asking the experts / how to find the proper key between two sas or oracle table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Asking-the-experts-how-to-find-the-proper-key-between-two-sas-or/m-p/456832#M29428</link>
      <description>&lt;P&gt;Does&amp;nbsp;&lt;SPAN&gt;SAS DataFlux Data Management&amp;nbsp;is available with SAS enterprise guide 7.15?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 12:08:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Asking-the-experts-how-to-find-the-proper-key-between-two-sas-or/m-p/456832#M29428</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2018-04-24T12:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Asking the experts / how to find the proper key between two sas or oracle table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Asking-the-experts-how-to-find-the-proper-key-between-two-sas-or/m-p/457107#M29445</link>
      <description>&lt;P&gt;No, it's a separate product that has its own user interface and there would be a licensing cost. It is available as a standalone workstation product or as part of a SAS Data Quality server-based solution.&lt;/P&gt;
&lt;P&gt;If it isn't available to you now, then getting a new product just to meet a narrow need would not be a good choice in my opinion.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 22:52:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Asking-the-experts-how-to-find-the-proper-key-between-two-sas-or/m-p/457107#M29445</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-04-24T22:52:40Z</dc:date>
    </item>
  </channel>
</rss>

