Solved

arcMap:  DBA number field types show 0

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

770 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