<?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: Query a table with name that has a dot notation in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Query-a-table-with-name-that-has-a-dot-notation/m-p/793749#M32771</link>
    <description>&lt;P&gt;If the table in the DBMS has VARCHAR/CHAR fields that are too large for SAS, first cast them to a shorter length in a DBMS view, which you then use as source from SAS.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Feb 2022 13:04:09 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2022-02-01T13:04:09Z</dc:date>
    <item>
      <title>Query a table with name that has a dot notation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Query-a-table-with-name-that-has-a-dot-notation/m-p/792407#M32653</link>
      <description>&lt;P&gt;Dear Communities,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to execute a PROC SQL on a table that has a dot in its name (i.e. esign.state is the table name).&lt;/P&gt;
&lt;P&gt;I have registered a library that preserve table names with their original names.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME DUW ODBC  DATAsrc=DUW  SCHEMA=gbox;
proc sql;
	create table Test_Q1 as 
		select * from duw.esign.state;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;However, Enterprise Guide gives me the following error:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ERROR 22-322: Syntax error, expecting one of the following: a name, ;, (, ',', ANSIMISS, AS, CROSS, EXCEPT, FULL, GROUP, HAVING,
INNER, INTERSECT, JOIN, LEFT, NATURAL, NOMISS, ORDER, OUTER, RIGHT, UNION, WHERE.

ERROR 200-322: The symbol is not recognized and will be ignored.&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Do you know any workaround so as to resolve the issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance,&lt;/P&gt;
&lt;P&gt;Vasilios&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;</description>
      <pubDate>Wed, 26 Jan 2022 10:14:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Query-a-table-with-name-that-has-a-dot-notation/m-p/792407#M32653</guid>
      <dc:creator>vfarmak</dc:creator>
      <dc:date>2022-01-26T10:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Query a table with name that has a dot notation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Query-a-table-with-name-that-has-a-dot-notation/m-p/792412#M32654</link>
      <description>&lt;P&gt;Try&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options validmemname=extend;

proc sql;
create table Test_Q1 as 
select * from duw.'esign.state'n;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You may have to take care of upper/lowercase inside the quotes.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 10:46:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Query-a-table-with-name-that-has-a-dot-notation/m-p/792412#M32654</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-01-26T10:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Query a table with name that has a dot notation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Query-a-table-with-name-that-has-a-dot-notation/m-p/792467#M32657</link>
      <description>Are you sure that the table actually has a dot in its name?
In that case the DBA should be fired.
Usually when I see a threee level name it's in the form of databse.schema.table.
If so, you library reference should be directed to the schema, and then you could use a two level reference in your SQL.</description>
      <pubDate>Wed, 26 Jan 2022 13:51:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Query-a-table-with-name-that-has-a-dot-notation/m-p/792467#M32657</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2022-01-26T13:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Query a table with name that has a dot notation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Query-a-table-with-name-that-has-a-dot-notation/m-p/792470#M32658</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13674"&gt;@LinusH&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;In that case the DBA should be fired.&lt;/BLOCKQUOTE&gt;
&lt;P class="1643205397661"&gt;And not just "fired from", but "fired at".&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 13:57:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Query-a-table-with-name-that-has-a-dot-notation/m-p/792470#M32658</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-01-26T13:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Query a table with name that has a dot notation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Query-a-table-with-name-that-has-a-dot-notation/m-p/793446#M32757</link>
      <description>&lt;P&gt;Thank you very much&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;with the solution you provided I found out that SAS has a limitation in terms of the number of characters that can host in a character column (32767).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Therefore, I need to find a way to manipulate the string and store in SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Vasilios&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 10:22:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Query-a-table-with-name-that-has-a-dot-notation/m-p/793446#M32757</guid>
      <dc:creator>vfarmak</dc:creator>
      <dc:date>2022-01-31T10:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Query a table with name that has a dot notation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Query-a-table-with-name-that-has-a-dot-notation/m-p/793749#M32771</link>
      <description>&lt;P&gt;If the table in the DBMS has VARCHAR/CHAR fields that are too large for SAS, first cast them to a shorter length in a DBMS view, which you then use as source from SAS.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 13:04:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Query-a-table-with-name-that-has-a-dot-notation/m-p/793749#M32771</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-02-01T13:04:09Z</dc:date>
    </item>
  </channel>
</rss>

