Closed alloclhdwcy closed 4 months ago
Hi laurenz,
I tried the way from 311:
CREATE FOREIGN TABLE transftest20240717 ( FEATID text, SHAPE geometry ) SERVER oradb OPTIONS(schema 'SZSW_GIS_SDE',table '(SELECT FEATID, SDO_GEOMETRY(SDE.ST_asText(SHAPE)) AS SHAPE FROM TEST20240717)');
But i get the following error:
ERROR: error describing remote table: OCIStmtExecute failed to describe table DETAIL: ORA-00903: invalid table name
Please help how to solve this problem ant Is there any way can i select ST_GEOMETRY type (ESRI ArcSDE).
This is a duplicate of #678.
As documented: if you define a foreign table based on a query, you must not specify a schema.
schema
I'm very sorry and thank you for your time!
No problem at all; you are welcome.
Hi laurenz,
I tried the way from 311:
CREATE FOREIGN TABLE transftest20240717 ( FEATID text, SHAPE geometry ) SERVER oradb OPTIONS(schema 'SZSW_GIS_SDE',table '(SELECT FEATID, SDO_GEOMETRY(SDE.ST_asText(SHAPE)) AS SHAPE FROM TEST20240717)');
But i get the following error:
ERROR: error describing remote table: OCIStmtExecute failed to describe table DETAIL: ORA-00903: invalid table name
Please help how to solve this problem ant Is there any way can i select ST_GEOMETRY type (ESRI ArcSDE).