Numeric scale and precision

Does anyone know if Oracle has any plans to make the scale and precision mandantory on numeric fields?
My group has built an ODS of Oracle Financials data. The source has fields defined as numeric, but in our ODS we choose to have them defined as numeric(30,8). One of the table loads abended last night and I am thinking of changing those fields to numeric to avoid future abends, but I want to make sure that down the line I won't be changing them back....
Thanks,
Ann

I can't imagine Oracle would break the piles of existing code that declares plain NUMBER columns. I doubt you're going to find anything official from Oracle that it plans to continue allowing you to omit scale and precision for the same reason that you won't find anything saying that it plans to continue supporting BEFORE INSERT triggers.
If, for some reason, Oracle started requiring scale & precision, they'd give you a number of years to make the change. Heck, they started saying "LONGs are going away" when 8.1.5 came out but still supports them for legacy apps in 10.1.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • Import number fields with scale and precision

    When i import data to create a new table, how do i specify the scale and precision when importing ? ...or do i have to create the table manually and then import to an existing table?

    The Data Workshop wizard allows you to specify the scale and precision for numeric columns.

  • Scale and precision

    Hello, there:
    I have some caculations in my JAVA program:
    I defined two varibales x, y be double;
    x = 0.010014863145824584, y = 1-x, which makes y=0.9899851368541754
    so far so good. Now I want to save y into a table in the oracle database,
    the value turns out to be 1. I defined the column for this value to be number(8,4); ok, that might be the problem; then I re-defined it to be number(12,10), still, y turns out to be 1.
    Anyone enlighten me?
    Thanks,
    Sway

    How do you store it? As a test, try the simplest possible program something this:
        double x = 0.987654;
        stmt = connection.prepareStatement("insert into yourtable values (?)");
        stmt.setDouble(1, x);
        stmt.executeUpdate();Does that store 0.987654 (in which case the problem is in your code) or 1.0 (in which case the problem is likely in the table definition).
    Also try to store and retrieve the value from a command line SQL tool. There is the possibility that the database contains the right value but you fetch or display it somehow incorrectly in your program.

  • Format and precision

    Hi,
    I am using LabVIEW to do some calculation. Since the number of digit of the input will affect my result so much, I want to fix the numeric control to 4 significant digits. When I right-click on the numeric control, there is an option to change the format and precision. Does anyone know can this function really change the precision of a number? Or this is only for display?
    Thanks

    HI,
    That formatting is only for display.
    One way to do what you want is multiply your value by 10000 then round it to the nearest integer and then divide tha result by the same 10000.
    Hope this helps,
    Paulo

  • Adding numeric scale on CWGraph3D control

    I am using Measurement Studio for Visual C++. I have 2 questions;
    1. How do you add the numeric scale on CWGraph3D control? The color map style of the CWGraph3D control is set to color spectrum.
    2. How do you rotate the CWGraph3D control? I want to line it up horizontally.
    Thanks !

    Hi Irene,
    1. Are you referring to a x, y or z scale? You can add these both in property pages and programatically. Configure them by right-clicking on the graph and selecting Properties. On the Axes tab you can configure each of the axes. If you're referring to a scale telling what numeric values are associated with which colors then this is not something you can add automatically. You can however get the information that would be needed to create your own scale. The following post discusses this in some detail and gives an example in LabVIEW. You can use the ColorMapColors and ColorMapValues properties to obtain this information.
    _49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_QUESTION_0​=3d+intensity&USEARCHCONTEXT_QUESTION_S=0> Is it p...
    2. You can rotate the graph from the property pages as well. Open the property pages and select the Graph tab and then the 3D tab. This tab allows you to rotate the 3D graph. You can also configure this programmatically.
    I hope this helps!!
    Regards,
    Sarah Miracle
    National Instruments

  • Scale and copy problem

    hey I was wondering if anyone can help me, im trying to do a tutorial in a magazine and one portion of the work needs me to scale and copy using the command shift+alt problem is this doesnt work, the shift key alone does constrain the proportions and holding alt with shift contrains it from the centre point but it doesnt copy, holding alt alone does copy thou... this command doesnt work , I can do this using the scale tool but it the work needs to be very precise and the scale tool is more awkward cos i need to keep setting the point and its not always exactly the same... so basically why doesnt shift+alt constrain and copy a shape? any help would be great. my comp is new and dont have any bugs or other issues.. any help will be great! thanks

    lucillecasamadera,
    I've been using Illustrator since 1988. I have been an Adobe Certifed Expert in Illustrator since CS2. I can assure you you've either misunderstood the tutorial or the tutorial is simply wrong. (that does happen)
    Dragging a transform handle with the Alt key will never result in a copy. Illustrator simply does not work that way. There's nothing wrong with your version. You are trying to do something Illustrator does not do.
    You must use a dedicated tool (scale, rotate, skew, selection) in order for the Alt key to generate copies when dragging.
    You can argue it all you want... but that's the answer. Sorry it's not the one you wanted to hear.

  • I have an Imac, OS 10.6.8.  For the last few months I cannot send email from my computer.  I have called my ISP numerous times and they can't help. WHAT is wrong??

    I have not been able to send email from my computer for several months.  I have called my ISP numerous times and they can't or won't help.  Out of the blue something will send that has been in my outbox for days.  A new email address worked briefly but now does not. What is happening here???  Can this be fixed and how?

    The red dots mean that you were unable to connect to the server, either because it's unreachable or because your credentials were rejected. The daisy wheels mean that the server is taking too long to respond.
    Click the Show Detail button in the window, then click Check Again. Post the details shown.

  • Have synced my iPhone numerous times and some of the memos in "Voice Memos" on my iPhone wont go over to my iTunes program on my computer. I have a folder titled "Voice Memos" on my iPhone and one of the same name on iTunes on my computer.

    I have synced my iPhone numerous times and some of the memos in "Voice Memos" on my iPhone wont go over to my iTunes program on my computer. I have a folder titled "Voice Memos" on my iPhone and one of the same name on iTunes on my computer. But after I sync I only get 6 out of the 9 voice memos on my iPhone.
    How do I get the rest (or all) of the memos from my iPhone copied to my computer?
    Albro P Michell
    [email protected]

    "I have logged in to my itunes account on a different computer and none of my purchased music is showing up."
    Correct.  it does not magially appear in other places.  It will only be where you put it.
    "I also have plugged my iphone in to get updates but it says I will lose all media and apps if I don't update on the computer where  I sync everything. "
    Correct as well.  Iphone will sync with one computer at a time.  Syncing to another will erase the current content.
    You need to copy everything ( itunes library/contacts/pics/calendars/files/docs) from the old computer, or your backup copy of the old one, to the new one.

  • Please help. My facebook app will not open on my iphone 4. I deleted it,numerous times and downloaded it again. It uploads, but when you click on the icon, it flickers then closes.  Help.

    Please help. My facebook app will not open on my iphone 4. I deleted it,numerous times and downloaded it again. It uploads, but when you click on the icon, it flickers then closes.
    Help.

    Then the next step would be to restore your phone.  My advice is that prior to restoring you import your photos and videos to your computer and back up your contacts (by syncing them with iCloud or to a supported program on your computer using iTunes) as a number of users report losing these when restoring their device.

  • On iOS 7 when I try to set a new wallpaper why can't I scale and move my photo? Anybody else having this problem?, On iOS 7 when I try to set a new wallpaper why can't I scale and move my photo? Anybody else having this problem?

    On iOS 7 when I try to set a new wallpaper why can't I scale and move my photo? Why does it chop off the heads? Anybody else having this problem?

    Hi CollBA,
    See More Like This to the right. This issue has been discussed several times on this forum.
    Cheers,
    GB

  • Need to link 2 files, one with a numeric firld and on with an alpha numeric

    I need to link 2 files in my report by employee number. In the employee file it is an 8 character Numeric field like 1505087. In the GL File, it is an 8 character field like '01505087' I have done a TONUMBER on the employee number.  Where do I link these files? I have done it in my data selection, but it now takes hours to run the report. The report does work. Any suggestions for linking the files together?
    Thanks,
    Rick

    Hi Rick,
    Linking numeric and non numeric fields at report level takes long time because for each detail it has to process i.e convert your non numeric field to numeric and then link.
    To avoice this, try to use Add command for your non numerica table and convert the field to numeric in free hand SQL itself.
    Eg: Select fields..convert(non numeric to numeric) from table   // my convert syntex is not correct becasue i don't know what database you are using
    Now you get both tables with numeric fields and you can link both.  It will not take much time to retive records.
    Thanks,
    Sastry

  • I need to map my garden.  I need to draw it to scale and locate plants ties to a list of plants.

    I need to map my garden.  I need to draw it to scale and locate plants that ties to a list of plant names.

    A quick google search for gardening apps gave a surprisingly large number of hits. I saw at least three distinct garden planner apps (from $2 to $10) without half trying. These are mostly for iOS - iPad and/or iPhone - though there may be equivalents for Mac OS.
    I suggest you hit the app store and start doing some searches. I suspect you'll find something appealing fairly quickly.

  • Numeric value and scientific notation

    Hi,
    with Oracle 8 or 10, the query (via TOAD or my app : Delphi + BDE)
    SELECT 0.0008 FROM DUAL returns 0.0008,
    but the query
    SELECT 0.00008 FROM DUAL returns 8E-5.
    Is there a way to avoid this display in scientific notation, except changing all my queries ? Or to push the limit for this display one digit later ?
    Maybe with an Oracle parameter ?
    Thanks for your help !

    duplicate for thread
    numeric value and scientific notation

  • How to scale and clip a BitmapImage in Flex 4.5

    Here's my problem, I need to scale and clip images into square sized tiles to put into a tile list. Here's how I want it to work:
    1. I want all my tiles to be, say, 300px x 300px.
    2. For each image, I want to scale the shorter side (either width or height) to fit in the tile using the "letterbox" scaleMode (so that it maintains aspect ratio).
    3. Then I want to position the image in the center and clip away anything left over from either both sides or the top and bottom.
    Here's an example to help clarify:
    - I have an image with width=600px and height=1200px. First I want to scale the image to width=300px and height=600px (notice that aspect ratio is maintained), then center the image vertically and clip the image to 300 x 300.
    Is this possible? This is actually a pretty standard way of displaying square thumbnails in many photo-based web sites, but I can't find a way to make it work in flex.
    Any help would be appreciated, thanks!

    You can define any number of risk levels (low, medium, high,
    etc) using a
    case statement
    case (true) of
    (value(member("total")) < 12): member("risk level").text
    = "Low"
    (value(member("total")) < 27) : member("risk level").text
    = "Medium"
    otherwise:member("risk level").text = "High"
    end case
    "Mike Crisp" <[email protected]> wrote in
    message
    news:e4kn47$b2n$[email protected]..
    > Dave
    >
    > Now that I've started tinkering. Any suggestions as to
    how I might work
    the
    > following:
    >
    > If value of member "total".text is between 8 and12
    Member"Risk
    Level".text =
    > "Low Risk"
    >
    > If value of member "total".text is higher than 27
    Member"Risk Level".text
    =
    > "Unaccepable"
    >
    > And so on.....
    >
    > Mike
    >

  • Need to global find and scale and resize frame on a linked graphic

    I have a whole set of files that contain multiple instances of an icon set (placed AI file). All of these are formatted to flow in the text as anchored objects with various object styles. I need to make sure that all instances of the placed AI icons are scaled to 30% and that their frames are fit to content. I have a LOT of files and each one has at least 20 of these icons. I thought the Object find and replace would help, but unfortunately it will not let you search for links, and while I can search for the object styles, there's no option to change scale and the fit content options does not have the "fit frame to content" (and doesn't work anyway from the few tests I ran using "fit content proportionally"). 
    Does anyone have any ideas for how I can fix this globally in nearly 500 documents without having to manually select each icon and change the scale and apply the fit frame to content? I've done a handful of files this way, and it's VERY time consuming.

    First make sure this works by duplicating a file and testing.
    Make 1 image the size you need it
    Grep search for
    Find
    ~a
    Change to
    ~C
    if that doesn't work then try ~c (lower case) I can't remember how that works
    If it does work - then you can open 2 documents and choose "All Documents" in the Search field.
    If it's fine on 2 docs - then I'd say go ahead and do the rest.
    I stress to please use a duplicate set of files in case things go bad.

Maybe you are looking for