Skip to end of banner
Go to start of banner

Error when trying to retrieve data using SQL

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Problem Statement

When trying to retrieve data using SQL with PostgreSQL profile with public tables(table name is inventory) as  SELECT * FROM inventory; will result in below error:

Error Message 

org.postgresql.util.PSQLException: ERROR: relation "inventory" doesnot exist Position: 15


Environment

VersionServer 6.15.4
ApplicationConfluence
App Version10.0.0
Database TypePostgreSql


Cause

As the table is in public schema in PostgreSQL, it should be mentioned in the select statement

Solution

  1. SELECT * FROM public. "inventory"
  • No labels