Solved

arcMap:  DBA number field types show 0

Posted on 2015-01-15
2
234 Views
Last Modified: 2015-01-16
Hello Experts,

I am a new ArcMap and have a formatting issue.  I am using ArcMap 10 and Oracle 10g.  Here is my issue:

My table "Hub_Tickets" in oracle has a field called "Impact_Score" that is a number format. When I add this table to a ArcMap session, I go to "Open" and find the field and it shows that it's a "Long" character.  Here is the issue, when I review the records it shows 0, and not the real values "1 through 5,000,000".  This isn't the only field it does this to. It only changes number format field values.

I tried changing the format in Oracle to text and it works, the numbers are displayed but that are text so I can't use the symbology to make ranges for color changes.

I also tried in the Catalog -->table properties --> Fields tab, and change the data type.  I get error of Unable to alter the field's type  ORA-00942: Table or view does not exist.

Any idea what I should do?

**UPDATE**  I did have come across another table that has values showing that are long types.  The difference I see is that the "precision" has a number 10. Where as my field doesn't have that precision listed.  Any ideas?


Update 2

I had to format the field like this.  Any reason why?  I have many other fields and it seems that it would be a lot of time to do so.  Using views.. too
CAST(MHI.IMPACT_SCORE AS NUMBER(10)
0
Comment
Question by:Maliki Hassani
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 35

Accepted Solution

by:
johnsone earned 500 total points
ID: 40553219
My guess, and this is a guess because I don't know arcMap, is that is it an issue with/limitation of arcMap.

Oracle can handle numbers with precision up to 38 significant digits.  Not many pieces of software can do that.

I know that if you pull Oracle data into Microsoft Access, you cannot go above 15 significant digits, if you do, Access cannot handle it and you get strange invalid information.

The problem becomes if you actually have a number with more than 10 significant digits.  What do you do then?  That is a question for arcMap.

Unfortunately, you are most likely going to have to create views or modify your tables to conform to the arcMap limitations.
0
 

Author Closing Comment

by:Maliki Hassani
ID: 40553538
Thank you!
0

Featured Post

Database Solutions Engineer FAQs

In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller single-server environments.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.
Suggested Courses

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question