facing an error while executing postgresql services in thingworx 9.1
- February 15, 2021
- 2 replies
- 2265 views
hii
i have one database(POSTGRESQL) configure with thingworx 9.1.
i have created postgresql thing which contain services(postgresql queries) for eg:-
i have one postgresql query which gives me allmembers data but it shows an error
"select ch.tcr_id,concat(us.first_name,' ',us.last_name) as member_name,
ch.user_id,ch.checkin_time,ch.checkout_time,ch.band_id,ch.checkbox
from "tbl_checkin_records" as ch
join "tbl_members" as mem
on ch.user_id = mem.user_id
join "tbl_users" as us
on mem.user_id = us.user_id order by ch.checkout_time desc;" this is my query which gives me an following error:- Unable to Invoke Service getAllCheckinRecordsForMember on PostgreSQL_DB : Execute Query failed: org.postgresql.util.PSQLException: ERROR: syntax error at or near "as" Position: 165
But when i was using
i have attached snapshots below for your better understanding

