?
Solved

Currency data type for Oracle

Posted on 2005-03-21
2
Medium Priority
?
2,724 Views
Last Modified: 2008-01-09
MS has this data type currency which I don't see in Oracle.  Which of the Oracle data type most closely translates to/from the MS CURRENCY?
0
Comment
Question by:xoxomos
[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 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 13595537
Not familiar with the CURRENCY datatype (if there is anything special that it does over number or decimal).

I'm pretty sure you need to use the plain old NUMBER datatype in Oracle and specify the decimal places.  For example:  number(10,2) states 8 numbers to the left of the decimal and 2 to the right.

How these are displayed can be modified with to_char and depending on your requirements, possibly some of the NLS settings.
0
 

Author Comment

by:xoxomos
ID: 13595561
Thanx
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
In this article, I’ll look at how you can use a backup to start a secondary instance for MongoDB.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

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