
Anonymous
Not applicable
2017-01-10
06:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[resolved] org.postgresql.util.PSQLException:Error: syntax error at or near "."
"
SELECT
'customer'.'name',
'customer'.'countryOfResidence'
FROM 'customer'
WHERE 'customer'.'countryOfResidence' = 'USA'
"
I am querying a table in postgreSQL through Talend and cannot seem to perceive where the error is. Can someone help out please.
SELECT
'customer'.'name',
'customer'.'countryOfResidence'
FROM 'customer'
WHERE 'customer'.'countryOfResidence' = 'USA'
"
I am querying a table in postgreSQL through Talend and cannot seem to perceive where the error is. Can someone help out please.
1,048 Views
1 Solution
Accepted Solutions

Anonymous
Not applicable
2017-01-10
06:28 PM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Got it Talend takes table names as double quotes:
SELECT
"customer"."name",
"customer"."countryOfResidence"
FROM "customer"
WHERE "customer"."countryOfResidence" = 'USA'
SELECT
"customer"."name",
"customer"."countryOfResidence"
FROM "customer"
WHERE "customer"."countryOfResidence" = 'USA'
1,048 Views
1 Reply

Anonymous
Not applicable
2017-01-10
06:28 PM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Got it Talend takes table names as double quotes:
SELECT
"customer"."name",
"customer"."countryOfResidence"
FROM "customer"
WHERE "customer"."countryOfResidence" = 'USA'
SELECT
"customer"."name",
"customer"."countryOfResidence"
FROM "customer"
WHERE "customer"."countryOfResidence" = 'USA'
1,049 Views
