Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
kickoff07
Contributor
Contributor

Trying to use PostGree SQL conector to access some info... but get always an error

Hi -
 
I'm trying to get data using the Postgree database conector in qlik cloud. The query run from my laptop works perfectly (it's a test query just to test). But not through qlik conector:
 
LIB CONNECT TO 'ABX';

LOAD [CUPS] AS [CUPS];
sql
select cups as CUPS from hourly_consumptions_pro limit 10;
 
Reply:
 
Connected
 
The following error occurred:
(Connector error: ERROR [XX000] [Qlik][PostgreSQL] (30) Error occurred while trying to execute a query: [SQLState XX000] ERROR: line 1:7: no viable alternative at input ';declare')
 
The error occurred here:
sql select cups as CUPS from hourly_consumptions_pro limit 10
 
Data has not been loaded. Please correct the error and try loading again.
 
Any thoughts on this ?
Labels (1)
2 Replies
benoithervochon
Partner - Contributor III
Partner - Contributor III

Hello

When "The query run from my laptop works perfectly "  -> with Qlik Sense Desktop ? or other tool ?

¯\_(ツ)_/¯
kickoff07
Contributor
Contributor
Author

My Postgre SQL client (outside Qlik)