Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a plain postgressql table (version 8.2). I am trying to connect to it to it from ArcGIS desktop 10.0, and use as a query layer, as given in this document:

I can see the tables, but I get the error message 'DBMS table not found' enter image description here

What exactly is the issue? How do I connect to it?

share|improve this question
DBMS table not found (-37)… though the it can be the esri provided st_geometry.dll no being correct… – Mapperz Apr 10 '13 at 13:32
Which geometry you are using (ST_Geometry or PostGIS) ? Are you able to connect it form Arc-catalog ? – Sunil Apr 10 '13 at 13:35
This is a Plain Postgres Table. There is no PostGIS/ST_Geometry or SDE involved. – Devdatta Tengshe Apr 10 '13 at 13:36
if i recall correctly postgres table names are case sensitive, maybe thats the problem? – til_b Apr 10 '13 at 15:00

If by plain table, you mean a table without spatial information you don't need a query layer, you can use an OLE connection. You can then use that OLE connection to connect to the table and add it to your map document making it available for joins to your other layers.

share|improve this answer
An oleDb connection has several limitations. And I'll ideally like to make joins in the query and use the result. – Devdatta Tengshe Apr 10 '13 at 15:05
@DevdattaTengshe I think you should encapsulate data concerns at the data layer. Use an OLE connection to query a view that handles all your table relations. In a perfect world your GIS shouldn't need to know how your database schema is structured. – tomfumb Apr 10 '13 at 15:59
@tomfumb: Query Layers in ArcGIS are meant for exactly the user case I am describing. ArcGIS will function as a client for the RDBMS, just like PgAdmin. They are great for one off dynamic queries. In the case when there queries will be used again and again, yes a view will be better. – Devdatta Tengshe Apr 11 '13 at 5:06
@tomfumb And In my perfect world, I would be able to use ArcGIS Desktop(or any other software) to work with any data source, be it shapefiles, Rasters, Geodatabases, .xls, geoJson, RDBMS, csv etc in a single software. ArcGIS isn't there yet, but it is getting there. – Devdatta Tengshe Apr 11 '13 at 5:10
up vote 2 down vote accepted

Here is the solution that I found. My Table's names contained capital letters. Once I used a table with the name in all small letters, I got no error message, and could use the Query layer.


How did if find out this is the cause, you ask? I was searching for Postgresql and Query layers, and I found this post on the ArcGIS Forums, which says that ArcGIS has problems connecting to Databases with capitals in their name.

My database did not have capital letters in the name, but the Tables did have. You can even see that in the "List of Tables Window", ArcGIS list the table with names in all small.

This is probably why it gives the error message saying 'DBMS table not found' since in the query it tries to find a table with names is all small, which does not exist.

share|improve this answer
Ah, yes, I forgot about case sensitivity. See page 43 of the presentation Administering your PostgreSQL Geodatabase from the Esri 2012 User Conference. The presenter said "Please store everything in lowercase", for just this reason. – RyanDalton Apr 12 '13 at 4:54
You may also find this question to be useful: Postgresql for Qgis and Arcgis - What to do/What not to do – RyanDalton Apr 12 '13 at 4:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.