<?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: Get SYNONYMS via SAS/Access to ODBC in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Get-SYNONYMS-via-SAS-Access-to-ODBC/m-p/234005#M5881</link>
    <description>&lt;P&gt;Thanks. I needed something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc SQL NoPrint;
  Connect To ODBC (DSN=sassql);
  Create Table Synonyms As Select * From Connection To ODBC 
  (SELECT * FROM SYS.SYNONYMS) Order By name ;
  Disconnect From ODBC;
Quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 10 Nov 2015 14:10:11 GMT</pubDate>
    <dc:creator>user24feb</dc:creator>
    <dc:date>2015-11-10T14:10:11Z</dc:date>
    <item>
      <title>Get SYNONYMS via SAS/Access to ODBC</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Get-SYNONYMS-via-SAS-Access-to-ODBC/m-p/233996#M5878</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to access the available&amp;nbsp;synonyms via odbc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I use this code, I get the tables and views, but I can't&amp;nbsp;find the synonyms:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Libname sqlserv ODBC Schema=DBO DSN=sassql;

Proc SQL;
  Create Table Work_Cont_Dict As Select * From Dictionary.Tables Where Libname eq UpCase('sqlserv');
Quit;

* proc datasets gives the same result - only views and tables;
Proc Datasets Library=sqlserv; 
  *Contents Out=Contents Data=_ALL_ Details; * if I remove the comment, it gives me an error;
Run;&lt;/CODE&gt;&lt;/PRE&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;P&gt;How can I get a list of available synonyms?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;kind regards&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 12:34:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Get-SYNONYMS-via-SAS-Access-to-ODBC/m-p/233996#M5878</guid>
      <dc:creator>user24feb</dc:creator>
      <dc:date>2015-11-10T12:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Get SYNONYMS via SAS/Access to ODBC</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Get-SYNONYMS-via-SAS-Access-to-ODBC/m-p/233997#M5879</link>
      <description>&lt;P&gt;If I look through SAS/ACCESS doc, it seems there are only support for synonyms in Netezza and Oracle.&lt;/P&gt;
&lt;P&gt;So my guess is that you nedd to use explicit SQL pass-thru to access those.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 12:54:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Get-SYNONYMS-via-SAS-Access-to-ODBC/m-p/233997#M5879</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-11-10T12:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Get SYNONYMS via SAS/Access to ODBC</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Get-SYNONYMS-via-SAS-Access-to-ODBC/m-p/234005#M5881</link>
      <description>&lt;P&gt;Thanks. I needed something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc SQL NoPrint;
  Connect To ODBC (DSN=sassql);
  Create Table Synonyms As Select * From Connection To ODBC 
  (SELECT * FROM SYS.SYNONYMS) Order By name ;
  Disconnect From ODBC;
Quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Nov 2015 14:10:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Get-SYNONYMS-via-SAS-Access-to-ODBC/m-p/234005#M5881</guid>
      <dc:creator>user24feb</dc:creator>
      <dc:date>2015-11-10T14:10:11Z</dc:date>
    </item>
  </channel>
</rss>

