<?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: SQL Syntax PostgreSQL in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/SQL-Syntax-PostgreSQL/m-p/2358634#M123622</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Could you please clarify in which Talend version/edition you are? And what's PostgreSQL version you are trying to connect?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Wed, 04 Aug 2021 04:45:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-08-04T04:45:36Z</dc:date>
    <item>
      <title>SQL Syntax PostgreSQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-Syntax-PostgreSQL/m-p/2358630#M123618</link>
      <description>&lt;P&gt;Just getting started with Talend (TOS). I connected to a PostgreSQL server and&amp;nbsp;&amp;nbsp;used a simple query:&lt;/P&gt;&lt;P&gt;Select * from Table1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This query fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the guess query function and Talend added slashes in the query. Which worked. But when I edit the query in the SQL builder the slashes aren't' present.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm really confused as to the SQL syntax and why a simple query like SELECT * FROM table1 doesn't work.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:54:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-Syntax-PostgreSQL/m-p/2358630#M123618</guid>
      <dc:creator>Mp_99</dc:creator>
      <dc:date>2024-11-15T23:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Syntax PostgreSQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-Syntax-PostgreSQL/m-p/2358631#M123619</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;What's the error messages? Have you defined the columns on schema to map the returned fields of the query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 03:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-Syntax-PostgreSQL/m-p/2358631#M123619</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-03T03:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Syntax PostgreSQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-Syntax-PostgreSQL/m-p/2358632#M123620</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Did you fill in schema when setting up PostgreSQL DB connection? Make sure that you are able to retrieve schemas from PostgreSQL DB.&lt;/P&gt;&lt;P&gt;Here is online documentation about: &lt;A href="https://help.talend.com/r/en-US/7.3/studio-user-guide-open-studio-for-data-integration/centralizing-database-metadata" alt="https://help.talend.com/r/en-US/7.3/studio-user-guide-open-studio-for-data-integration/centralizing-database-metadata" target="_blank"&gt;TalendHelpCenter: Centralizing database metadata&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 04:08:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-Syntax-PostgreSQL/m-p/2358632#M123620</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-03T04:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Syntax PostgreSQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-Syntax-PostgreSQL/m-p/2358633#M123621</link>
      <description>&lt;P&gt;I mapped the schema for the database and then filled in the schema for a single table...basically i wanted to create a simple query "Select * from Table" but query fails with error "Syntax error on token, &lt;I&gt;Table&lt;/I&gt;, delete this token"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but when i use guess query, I get a strange query that looks like this:&lt;/P&gt;&lt;P&gt;SELECT&amp;nbsp;\"ServerName\".\"schema\".\"_Table_\".\"column\"&lt;/P&gt;&lt;P&gt;FROM \"ServerName\".\"schema\".\"_Table_\""&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went back and defined my query in the repository but the schema appears that it's looking for a table schema, which makes no sens to me since I'm using a query with joins.&lt;/P&gt;&lt;P&gt;I tried using the "built-in" for the schema and using the query from the repository but it fails with "Bad value..." &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;The stored query in the repository runs fine in the SQL Builder but I can't get it run in the tDBInput component.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 15:18:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-Syntax-PostgreSQL/m-p/2358633#M123621</guid>
      <dc:creator>Mp_99</dc:creator>
      <dc:date>2021-08-03T15:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Syntax PostgreSQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-Syntax-PostgreSQL/m-p/2358634#M123622</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Could you please clarify in which Talend version/edition you are? And what's PostgreSQL version you are trying to connect?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 04:45:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-Syntax-PostgreSQL/m-p/2358634#M123622</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-04T04:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Syntax PostgreSQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-Syntax-PostgreSQL/m-p/2358635#M123623</link>
      <description>&lt;P&gt;TOS 7.3.1&lt;/P&gt;&lt;P&gt;Postgre - I have the connection set to "V9 and later". The actual version of the DB is 12.5&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 14:28:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-Syntax-PostgreSQL/m-p/2358635#M123623</guid>
      <dc:creator>Mp_99</dc:creator>
      <dc:date>2021-08-04T14:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Syntax PostgreSQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-Syntax-PostgreSQL/m-p/2358636#M123624</link>
      <description>&lt;P&gt;I did retrieve the schema for the database. But when I enter the query TOS appears to be looking for a table schema. Which makes no sense when using a query with several joins. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 13:40:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-Syntax-PostgreSQL/m-p/2358636#M123624</guid>
      <dc:creator>Mp_99</dc:creator>
      <dc:date>2021-08-05T13:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Syntax PostgreSQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-Syntax-PostgreSQL/m-p/2358637#M123625</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;A PostgreSQL database has at least one default Schema, which will be referenced in case you do not define a Schema.&lt;/P&gt;&lt;P&gt;For your join sql query, you are using same database, different schemas,&lt;B&gt; &lt;/B&gt;SCHEMA -&amp;gt; TABLE?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 05:58:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-Syntax-PostgreSQL/m-p/2358637#M123625</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-06T05:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Syntax PostgreSQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-Syntax-PostgreSQL/m-p/2358638#M123626</link>
      <description>&lt;P&gt;Hi - thanks for the reply. When I change the schema from Built-in to Repository, I can only select a table schema from the Repository Content window that pops-up. Why would I want to use a table schema with a query that has multiple joins? I don't see how to select a schema that's appropriate for a query.&lt;/P&gt;&lt;P&gt;I have the query saved in the repository, but there's no way to reference it in the schema selection. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I have to create a schema from scratch and define every column? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 14:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-Syntax-PostgreSQL/m-p/2358638#M123626</guid>
      <dc:creator>Mp_99</dc:creator>
      <dc:date>2021-08-06T14:21:00Z</dc:date>
    </item>
  </channel>
</rss>

