Solved

arcMap:  DBA number field types show 0

Posted on 2015-01-15
2
202 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
2 Comments
 
LVL 34

Accepted Solution

by:
johnsone earned 500 total points
Comment Utility
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
Comment Utility
Thank you!
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
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 tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now