<?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: python driver not able to query a view ?? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-driver-not-able-to-query-a-view/m-p/12297185#M1989921</link>
    <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;antonio.a.ramos&lt;/SPAN&gt; , This could be due to the view name containing lower case letters. (ItemStockByWarehouse)
Putting quotes around the table name could fix this. Or it might be easiest, if you could create the view using only upper case.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jan 2021 08:51:12 GMT</pubDate>
    <dc:creator>AndreasForster</dc:creator>
    <dc:date>2021-01-06T08:51:12Z</dc:date>
    <item>
      <title>python driver not able to query a view ??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-driver-not-able-to-query-a-view/m-p/12297184#M1989920</link>
      <description>&lt;P&gt;hello i´m using the python driver to query my hana db.&lt;/P&gt;
  &lt;P&gt;from hdbcli import dbapi &lt;/P&gt;
  &lt;P&gt;...&lt;/P&gt;
  &lt;P&gt;dbapi.connect(address='xxx', port=30015, user='SYSTEM', password='xxx#') &lt;/P&gt;
  &lt;P&gt;this query &lt;/P&gt;
  &lt;P&gt; Query="SELECT * FROM MYDB.OATC" &lt;/P&gt;
  &lt;P&gt;returns rows&lt;/P&gt;
  &lt;P&gt;but querying a view&lt;/P&gt;
  &lt;P&gt; Query="SELECT top 1000 * from MYDB.ItemStockByWarehouse WHERE WhsCode =1" &lt;/P&gt;
  &lt;P&gt;returns this error&lt;/P&gt;
  &lt;P&gt;hdbcli.dbapi.ProgrammingError: (259, 'invalid table name: Could not find table/view ITEMSTOCKBYWAREHOUSE in schema MYDB&lt;/P&gt;
  &lt;P&gt;is there any issues with views and python driver???&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 10:00:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/python-driver-not-able-to-query-a-view/m-p/12297184#M1989920</guid>
      <dc:creator>former_member715007</dc:creator>
      <dc:date>2020-11-25T10:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: python driver not able to query a view ??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/python-driver-not-able-to-query-a-view/m-p/12297185#M1989921</link>
      <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;antonio.a.ramos&lt;/SPAN&gt; , This could be due to the view name containing lower case letters. (ItemStockByWarehouse)
Putting quotes around the table name could fix this. Or it might be easiest, if you could create the view using only upper case.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 08:51:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/python-driver-not-able-to-query-a-view/m-p/12297185#M1989921</guid>
      <dc:creator>AndreasForster</dc:creator>
      <dc:date>2021-01-06T08:51:12Z</dc:date>
    </item>
  </channel>
</rss>

