简体   繁体   中英

column “st_srid” does not exist

Hi I'm executing this query in my java code and it tells me

org.postgresql.util.PSQLException: ERROR: column "st_srid" does not exist

However when I run it directly in pgAdmin it shows me the column and the value inside.

Here is my query:

"Select Distinct ST_SRID(shape) from TableName where shape IN (SELECT shape from TableName)"

I appreciate any help

不同的需要在st_srid函数调用st_srid括号。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM