SunQuest
 
           General SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesGeneral SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old August 26th, 2003, 05:17 AM
EddieV EddieV is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 2 EddieV User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question MyODBC, ESRI GIS and erm blank records

Hi,
I've got a bit of a problem but I guess I wont have been the first to encounter something of this nature. I'm using ArcCatalog to successfully establish a database connection with a MySQL database on a webserver via MyODBC 3.51. Once inside
ArcMap 8.3 using "Add X/Y Data" I can access the tables within the database, my problem lies in the fact that some tables in the database show all their values fine but others show only the field names and all the records are missing (same symptoms previewing in ArcCatalog).
I've read of similar problems relating to non standard querying but this is before any specific SQL query has been performed within ArcMap. I'd appreciate it if those familiar with the quirks would enlighten me as to how to rectify the situation, it's my first attempt at such a connection and it's essential for my current project.

Thanks In Anticipation

Ed

Reply With Quote
  #2  
Old August 28th, 2003, 09:06 AM
crazytrain81 crazytrain81 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 232 crazytrain81 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
I'm not familiar with ArcCatalog, but, off the top of my head...

1. Check to be sure you have the appropriate permissions on the tables that are giving you problems.
2. Verify that the problem tables are set up 100% by the book for ArcCatalog.
3. Verify the query, and run it in a non-scripted environment... e.g. the mysql command line interface, and look at the error and see if you can resolve it.
4. If the query seems valid but still isn't returning rows, try to rewrite conditionals and joins to broaden the criterion and make sure it's not an error in the query itself.

If none of that helps, let me know what happened.

Reply With Quote
  #3  
Old September 7th, 2003, 08:46 AM
EddieV EddieV is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 2 EddieV User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for the reply, I'll give your suggestions a go when I next have the chance. As far as 1, 3 & 4 go I think that's all fine, I think it might be a case of needing to look at the datatypes and how ArcCatalog treats them as per 2. IIRC the tables that work fine I created from the command line and the troublesome ones were created with PHPMyAdmin so possibly some discrepancy there.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesGeneral SQL Development > MyODBC, ESRI GIS and erm blank records


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway