<?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: SAS Management Console failed to register table - query executed with no schema name in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/804308#M24077</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/419103"&gt;@dioninoang&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Any update Sir?&lt;/P&gt;</description>
    <pubDate>Sat, 26 Mar 2022 23:02:41 GMT</pubDate>
    <dc:creator>Sajid01</dc:creator>
    <dc:date>2022-03-26T23:02:41Z</dc:date>
    <item>
      <title>SAS Management Console failed to register table - query executed with no schema name</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/800830#M23906</link>
      <description>&lt;P&gt;Hi everyone, big thanks to let me in here...&lt;/P&gt;&lt;P&gt;with my respect, i wanna ask some question about how to add schema name into output query generated by SAS Library(odbc)?&lt;/P&gt;&lt;P&gt;Im facing a problem with registering a table on SAS Management Console. The error is : "ERROR: No rows returned by columns query for table tableName,&amp;nbsp;no columns registered.".&lt;/P&gt;&lt;P&gt;The table registration window show the correct list of available table on SAP HANA, but when i chose and next the error above showing.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="register_table_list.png" style="width: 584px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69287i4FE3D3B398AB7500/image-size/large?v=v2&amp;amp;px=999" role="button" title="register_table_list.png" alt="register_table_list.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error_registration.png" style="width: 801px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69288i83DB5B382A9FDBCA/image-size/large?v=v2&amp;amp;px=999" role="button" title="error_registration.png" alt="error_registration.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When i see the odbc log, it show the query not followed by schema, just like this:&lt;/P&gt;&lt;P&gt;select * from tableA&lt;/P&gt;&lt;P&gt;, that it suppose to be like this :&lt;/P&gt;&lt;P&gt;select * from schema.tableA.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="log_odbc_register.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69290i6898F625DF5C7F99/image-size/large?v=v2&amp;amp;px=999" role="button" title="log_odbc_register.png" alt="log_odbc_register.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I check the server properties and find that i already write the schema name under the Database Server in Data Server tab, and when registering SAS Show all table under that schema...&lt;/P&gt;&lt;P&gt;That's make me very confuse,whats wrong with my setting...&lt;/P&gt;&lt;P&gt;Maybe i miss some setting or there is another way,please let me know...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;im using third party odbc driver for SAP HANA, and using DataDirect driver manager.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;and im sory if my language is difficult to understand&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 16:27:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/800830#M23906</guid>
      <dc:creator>dioninoang</dc:creator>
      <dc:date>2022-03-09T16:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console failed to register table - query executed with no schema name</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/800907#M23909</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;It's possible that database access has not been granted.&lt;BR /&gt;Please check if you have access to the table at the database level.&lt;BR /&gt;Also see if you can access the library directly by passing metadata server.&lt;BR /&gt;In my opinion using SAS Access interface to ODBC and third party drivers should not be an issue.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 17:10:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/800907#M23909</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-03-08T17:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console failed to register table - query executed with no schema name</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/800915#M23910</link>
      <description>&lt;P&gt;Thank you sir...&lt;/P&gt;&lt;P&gt;The SAP team told me that they already grant the access... But, i will ask again to make sure...&lt;/P&gt;&lt;P&gt;Im sory sir,i didnt get about&amp;nbsp;&lt;SPAN&gt;access the library directly by passing metadata server, did you mean using sql pass trough ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for the respond and suggestion sir&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 17:43:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/800915#M23910</guid>
      <dc:creator>dioninoang</dc:creator>
      <dc:date>2022-03-08T17:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console failed to register table - query executed with no schema name</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/800926#M23911</link>
      <description>&lt;P&gt;What i meant was connecting to the database server from your Enterprise guide using for example something like&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname mydblib odbc datasrc=mydatasource user=myusr_name password=my_pwd;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or something like this&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
connect to odbc as myconnection
   (datasrc=mydatasource user=myusr_name password=my_pwd);
select *
   from connection to mycon
      (SQL statements);
disconnect from mycon;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If these work you have access.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 18:37:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/800926#M23911</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-03-08T18:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console failed to register table - query executed with no schema name</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/800930#M23912</link>
      <description>&lt;P&gt;Oh, i already try with proc sql direct connection like that, it works but i must add schema name in select statement.&lt;/P&gt;&lt;LI-CODE lang="sas"&gt;proc sql;
connect to odbc as myconnection
   (datasrc=mydatasource user=myusr_name password=my_pwd);
select *
   from connection to mycon
      (select * from schema.table);
disconnect from mycon;
quit;&lt;/LI-CODE&gt;&lt;P&gt;With libname and data step, or regular proc sql it throw same error like i registering table from Management Console.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error_eg.jpeg" style="width: 766px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69258iFD816614267C2540/image-size/large?v=v2&amp;amp;px=999" role="button" title="error_eg.jpeg" alt="error_eg.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And the odbc trace log&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="odbc_trace.jpeg" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69259i7D571C1FBA8C0A15/image-size/large?v=v2&amp;amp;px=999" role="button" title="odbc_trace.jpeg" alt="odbc_trace.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 18:53:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/800930#M23912</guid>
      <dc:creator>dioninoang</dc:creator>
      <dc:date>2022-03-08T18:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console failed to register table - query executed with no schema name</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/800944#M23914</link>
      <description>&lt;P&gt;The error suggests that your database user account doesn't have the correct permissions to read the database tables. Talk to your database administrator to get this fixed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 21:52:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/800944#M23914</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-03-08T21:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console failed to register table - query executed with no schema name</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/800951#M23915</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/419103"&gt;@dioninoang&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;As your able to access database in proc sql using schema_name.table_name , please try this and let us know if it works&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname mydblib odbc datasrc=mydatasource user=myusr_name password=my_pwd schema=schema_name;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Once it works let us look for the next steps.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 22:19:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/800951#M23915</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-03-08T22:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console failed to register table - query executed with no schema name</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/800994#M23917</link>
      <description>&lt;P&gt;Halo sir. I try this and it also doesnt work sir&lt;/P&gt;&lt;LI-CODE lang="sas"&gt;libname mydblib odbc datasrc=mydatasource user=myusr_name password=my_pwd schema=schema_name;

data work.table;
set mydblib.tableA;
run;

proc sql;
select * from mydblib.tableA
quit;&lt;/LI-CODE&gt;&lt;P&gt;I try with MS Sql Server connection the code above is works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hope this is database user access permission problem, not in the SAS part&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you sir&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you sir&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 05:06:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/800994#M23917</guid>
      <dc:creator>dioninoang</dc:creator>
      <dc:date>2022-03-09T05:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console failed to register table - query executed with no schema name</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/800995#M23918</link>
      <description>&lt;P&gt;Halo sir... i already contact my db admin about this situation, but need time to check on database side.&lt;/P&gt;&lt;P&gt;hope this is bd access permission problem, not in SAS part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you sir&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 05:09:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/800995#M23918</guid>
      <dc:creator>dioninoang</dc:creator>
      <dc:date>2022-03-09T05:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console failed to register table - query executed with no schema name</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/801064#M23919</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/419103"&gt;@dioninoang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is good that you have got the admins involved to look into the access issue.&lt;/P&gt;
&lt;P&gt;However what is surprising is that you are able to connect with Proc SQL. Is that possible without access ? I don't think so. What I understand from your statements so far, is that the container schema contains the table and that has to be specified. That's understandable.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sajid01_0-1646831638246.png" style="width: 686px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69278iA01CCFB5DC26DBAA/image-dimensions/686x100?v=v2" width="686" height="100" role="button" title="Sajid01_0-1646831638246.png" alt="Sajid01_0-1646831638246.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Given the above fact, your inability to connect using libname with schema specified is a bit surprising. It will be good if you can post&amp;nbsp; the log after running just the libname statement.&amp;nbsp; Experienced members of the community / experts from SAS&amp;nbsp; can guide us.&lt;BR /&gt;If there are some GUI front ends like SQL Developer, Toad&amp;nbsp; or SQL Server management Studio that can connect to the SAP Hana database, please try. If you are able to connect, then access is not an issue.&lt;BR /&gt;Again if you are able to connect using Proc SQL, ODBC driver configuration may not be issue, but it is better to check that.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&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, 09 Mar 2022 13:27:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/801064#M23919</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-03-09T13:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console failed to register table - query executed with no schema name</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/801113#M23924</link>
      <description>&lt;P&gt;Halo sir...thank you for your respond&lt;/P&gt;&lt;P&gt;When i try run just the libname statement there is no error, it success&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;libname test odbc datasrc=SAPHANA user=SASXXX&amp;nbsp;&lt;/CODE&gt;password=Password SCHEMA=SASXXX;&lt;/PRE&gt;&lt;P&gt;And the log:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="log_libname.png" style="width: 830px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69284i15747EE62B1FE94D/image-size/large?v=v2&amp;amp;px=999" role="button" title="log_libname.png" alt="log_libname.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And about using proc sql&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc sql;
connect to odbc as mycon
   (datasrc=SAPHANA user=SASXXX password=Password);
select *
   from connection to mycon
      (select *
      from SAPSCHEMA.SAS_Table 
         );

disconnect from mycon;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I think the script 'connect to odbc' create the environment of master schema, and 'select * from connection to mycon' is open the environment so i can type the table schema in that and become success getting data.&lt;/P&gt;&lt;P&gt;The log show that the query pass to SAP HANA same as my select script, with schema name added&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="log_success.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69286i4F04D83702C3F322/image-size/large?v=v2&amp;amp;px=999" role="button" title="log_success.png" alt="log_success.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Im still waiting from the database administrator for a good news&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Its very confusing&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 16:23:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/801113#M23924</guid>
      <dc:creator>dioninoang</dc:creator>
      <dc:date>2022-03-09T16:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console failed to register table - query executed with no schema name</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/801141#M23925</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/419103"&gt;@dioninoang&lt;/a&gt;&amp;nbsp; for the response.&lt;/P&gt;
&lt;P&gt;It is good news. &lt;STRONG&gt;The libref has been successfully assigned&lt;/STRONG&gt; means&amp;nbsp;there is no error in the libname. statement.&lt;BR /&gt;Do confirm from the DBA's the level of access you have. (Do you have select access, what columns you have access to etc.&amp;nbsp; For example n some RDBMS systems ability to connect is not sufficient, one needs create session privilege. Your DBA is the best resource to help.)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Now about your original question&lt;/STRONG&gt; &lt;STRONG&gt;where to specify the schema in SAS management console&lt;/STRONG&gt;. This is done in the screen where you specify the server details and connection details. Immediately below the server drop down, there is an option for schema.&lt;BR /&gt;If you are starting from data library manager and using right click and selecting new library, then it would be the sixth form/screen.&lt;BR /&gt;Lastly if you think nothing is working SAS tech Support is the best option.&lt;/P&gt;
&lt;P&gt;PS : I just saw the update to your original question. You should be able to add schema and hopefully your issue will be resolved.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 17:06:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/801141#M23925</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-03-09T17:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console failed to register table - query executed with no schema name</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/801506#M23936</link>
      <description>&lt;P&gt;Halo sir,thank you for the response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our dba has confirm that access already given, both me and dba still searching for the cause of this issue...&lt;/P&gt;&lt;P&gt;For temporary im using sql pass through method to read and insert data to SAP HANA.&lt;/P&gt;&lt;P&gt;I will post here if there is any update.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much sir&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 20:45:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/801506#M23936</guid>
      <dc:creator>dioninoang</dc:creator>
      <dc:date>2022-03-10T20:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console failed to register table - query executed with no schema name</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/801672#M23945</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;Were you able to add schema to SMC?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 14:49:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/801672#M23945</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-03-11T14:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console failed to register table - query executed with no schema name</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/801819#M23949</link>
      <description>&lt;P&gt;Halo sir...&lt;/P&gt;&lt;P&gt;Still under investigation sir... our try including uninstall,reinstall odbc driver, and restart service still not working...&lt;/P&gt;&lt;P&gt;Do you know the location of SAS log where SAS execute libname sir?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Sat, 12 Mar 2022 16:14:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/801819#M23949</guid>
      <dc:creator>dioninoang</dc:creator>
      <dc:date>2022-03-12T16:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console failed to register table - query executed with no schema name</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/801831#M23952</link>
      <description>&lt;P&gt;If you can successfully query SAP HANA tables using a SAS LIBNAME or CONNECTION statement, then there's nothing wrong with your ODBC setup and reinstalling won't change anything. The problem appears to be with your configuration of the same SAP HANA library in SMC. As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/131732"&gt;@Sajid01&lt;/a&gt; has asked have you defined a schema in the SMC data library properties?&lt;/P&gt;</description>
      <pubDate>Sat, 12 Mar 2022 22:57:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/801831#M23952</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-03-12T22:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console failed to register table - query executed with no schema name</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/801954#M23962</link>
      <description>&lt;P&gt;Halo sir,thank you for response.&lt;/P&gt;&lt;P&gt;Yes, i added schema name in the SMC under schema in library properties.&lt;/P&gt;&lt;P&gt;Im successfuly query with&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;libname test "test/directory";
proc sql;
connect to odbc as mycon
   (datasrc=SAPHANA user=SAS password=Password);
create table test.SAS_PD as
select *
   from connection to mycon
      (select *
      from SAS.SAS_PD 
         );
disconnect from mycon;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;because in there i able to put schema name before the table name.&lt;/P&gt;&lt;P&gt;Using libname or register table via SMC/DI it still throw an error,same error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;i try to select only 1 column in SAP HANA table to see the log, amazingly the log show that i select all the column.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;LIBNAME sash1 ODBC  DATAsrc=SAPHANA SCHEMA=SAS user=SAS Password=Password;

proc sql;
select * from sash1.SAS_LGD;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE class=""&gt;NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR
24         
25         GOPTIONS ACCESSIBLE;
26         proc sql;
27         select * from sash1.SAS_LGD;
ERROR: CLI prepare error: Unable to retrieve columns for table [SAS_LGD].
SQL statement: SELECT * FROM SAS_LGD.
NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.
28         quit;
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE SQL used (Total process time):
      real time           0.46 seconds
      cpu time &lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc sql;
select '/test/date' from sash1.SAS_LGD;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE class=""&gt;26         proc sql;
27         select '/BA1/CR0KEYDAT' from sash1.SAS_LGD;
ERROR: CLI prepare error: Unable to retrieve columns for table [SAS_LGD].
SQL statement: SELECT * FROM SAS_LGD.
NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.
28         quit;
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE SQL used (Total process time):
      real time           0.42 seconds
      cpu time            0.09 seconds
      &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Mar 2022 16:02:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/801954#M23962</guid>
      <dc:creator>dioninoang</dc:creator>
      <dc:date>2022-03-14T16:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console failed to register table - query executed with no schema name</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/801957#M23963</link>
      <description>&lt;P&gt;The only table that i can select using libname is the table that have same level with sys_table in SAP HANA&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc sql;
SELECT CatalogName, SchemaName, TableName FROM sash1.sys_tables WHERE TableType='TABLE';
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thank you sir&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 15:26:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/801957#M23963</guid>
      <dc:creator>dioninoang</dc:creator>
      <dc:date>2022-03-14T15:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console failed to register table - query executed with no schema name</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/801962#M23965</link>
      <description>Can I just check this? The schema name you've specified in your passthrough code ("SAP_SCHEMA") is not the same as the one specified in your libname statement ("SAS"). Is that just your editing for the post? Because if they aren't the same that would explain why one is working and not the other.</description>
      <pubDate>Mon, 14 Mar 2022 15:53:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/801962#M23965</guid>
      <dc:creator>Nigel_Pain</dc:creator>
      <dc:date>2022-03-14T15:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console failed to register table - query executed with no schema name</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/801964#M23967</link>
      <description>&lt;P&gt;Halo sir, thank you for response...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im sory, i edit the code for the post, actually its same name sir&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 15:58:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-failed-to-register-table-query-executed/m-p/801964#M23967</guid>
      <dc:creator>dioninoang</dc:creator>
      <dc:date>2022-03-14T15:58:49Z</dc:date>
    </item>
  </channel>
</rss>

