<?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: Determine Source Table For Column in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Determine-Source-Table-For-Column/m-p/59002#M16597</link>
    <description>If you do want to use the metadata in the Oracle system tables, as Peter suggested, you can view this data from within SAS by assigning a libname to the database with “SYS” as the schema, provided that your DBA has given you the appropriate permissions to view the system tables.</description>
    <pubDate>Wed, 05 Jan 2011 20:49:01 GMT</pubDate>
    <dc:creator>polingjw</dc:creator>
    <dc:date>2011-01-05T20:49:01Z</dc:date>
    <item>
      <title>Determine Source Table For Column</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Determine-Source-Table-For-Column/m-p/59000#M16595</link>
      <description>I'm querying several tables from Oracle and am wondering if there is a procedure out there that will tell me which Oracle tables my extracted fields are coming from.  When reading the source code in SAS I can obviously see the names of the Oracle tables that are being used to extract my data, but I am wondering if there is a way to determine this programmatically.&lt;BR /&gt;
&lt;BR /&gt;
If you're wondering what all of this is for -- I'm trying to write a procedure that will essentially create a report inventory so I will be able to determine which Oracle tables/columns are being used on which reports.</description>
      <pubDate>Wed, 05 Jan 2011 15:10:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Determine-Source-Table-For-Column/m-p/59000#M16595</guid>
      <dc:creator>mdavidson</dc:creator>
      <dc:date>2011-01-05T15:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Determine Source Table For Column</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Determine-Source-Table-For-Column/m-p/59001#M16596</link>
      <description>most data bases have their own internal dictionary tables. &lt;BR /&gt;
In SAS it is called dictionary.columns or sashelp.vcolumn for the metadata about columns; dictionary.members and dictionary.tables for metadata about tables and dictionary.indexes, dictionary..... many other things.&lt;BR /&gt;
Although your SAS session (once connected to the data base with a libname statement) will be able to provide most of what you need in dictionary.columns, you may find a more useful collection of metadata (and faster) in your database's own system tables. &lt;BR /&gt;
 &lt;BR /&gt;
good luck&lt;BR /&gt;
peterC</description>
      <pubDate>Wed, 05 Jan 2011 18:24:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Determine-Source-Table-For-Column/m-p/59001#M16596</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2011-01-05T18:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Determine Source Table For Column</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Determine-Source-Table-For-Column/m-p/59002#M16597</link>
      <description>If you do want to use the metadata in the Oracle system tables, as Peter suggested, you can view this data from within SAS by assigning a libname to the database with “SYS” as the schema, provided that your DBA has given you the appropriate permissions to view the system tables.</description>
      <pubDate>Wed, 05 Jan 2011 20:49:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Determine-Source-Table-For-Column/m-p/59002#M16597</guid>
      <dc:creator>polingjw</dc:creator>
      <dc:date>2011-01-05T20:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Determine Source Table For Column</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Determine-Source-Table-For-Column/m-p/59003#M16598</link>
      <description>Message was edited by: LAP

Message was edited by: LAP</description>
      <pubDate>Thu, 06 Jan 2011 17:08:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Determine-Source-Table-For-Column/m-p/59003#M16598</guid>
      <dc:creator>LAP</dc:creator>
      <dc:date>2011-01-06T17:08:49Z</dc:date>
    </item>
  </channel>
</rss>

