Select to view content in your preferred language

How to query a table feature class stored in a file GDB?

2000
2
03-27-2012 06:07 AM
ducksunlimited
Deactivated User
HI All,

I wanted to query a stats table stored as a table feature class in a file GDB. It seemed that I could add it into the mxd but couldn't publish it in a web service since it indicates as an invalid layer. I guess a table feature class couldn't be accessed through a web service? Can I directly access it using file GDB APIs? I can put it in a mdb so I can query it directly using SL, but I just wonder if there is a way i can do through SL API or GDB APIs?

Thanks for any help,

Russel
0 Kudos
2 Replies
JenniferNery
Esri Regular Contributor
I'm not sure if this help doc would help: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//0053000000nz000000. If you have publishing questions, you might need to contact ArcGIS Server or Desktop. Our QueryTask is meant to retrieve features from a feature layer in an ArcGIS Server map service or a spatially-enabled table in SQL Server via the MapIt Spatial Data Service.
0 Kudos
ducksunlimited
Deactivated User
Thanks for your reply. that's what I learned after I posted my question - The QueryTask is for a feature class or a spatially-enabled table only. Finally I figured it out by querying a .mdb via ADO connections. Thanks,

Russel


I'm not sure if this help doc would help: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//0053000000nz000000. If you have publishing questions, you might need to contact ArcGIS Server or Desktop. Our QueryTask is meant to retrieve features from a feature layer in an ArcGIS Server map service or a spatially-enabled table in SQL Server via the MapIt Spatial Data Service.
0 Kudos