Solved

arcMap:  DBA number field types show 0

Posted on 2015-01-15
2
208 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.

862 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

21 Experts available now in Live!

Get 1:1 Help Now