Why do i get integer values instead of decimals when selecting a mysql table through an oracle xe DB?

Hi
My company just started a new project that implies migrating every hour operational data from a mysql database located at another company to our main DB (oracle10gR2). Between these two DB, we have an oracle XE DB which contains the database links to both DB and a procedure to get (from mysql) and insert (oracle10g) the values. What happens is that in the mysql DB, the values have decimals and, when i select the table in oracle, i only see integer values (no decimals). Here is an example of the select i use:
SELECT "v_hour", "v_date", "v_type", "v_tabstamp","v_value"
FROM "tab1"@mysql;
How can i work around this problem?
Many thanks!

Maybe just a HS_LANGUAGE setting issue.
You could try that:
1a) in the gateway init file, please set HS_LANGUAGE=GERMAN_GERMANY.WE8ISO8859P1
2a) now open a new SQL*Plus session ans select from your table using the gateway based database link
=> if the values are now including the decimal part then your foreign database is set up to use a comma as the decimal separator and you have to make sure that the HS_LANGUAGE contains a territory that uses as decimal separator a comma.
If you still do not get the decimal values, then change it to:
1b) HS_LANGUAGE=american_america.we8iso8859P1
2b) Make sure you start again a new SQL*Plus session (the gateway init file is only read when you use the database link in your session for the first time (or explicit closed it before). Select again from your table.
=> is the decimal part now visible?
More details can be found in the gateway note: Gateway and Decimal Digits(Doc ID 1453148.1) available from My Oracle Support portal.
- Klaus

Similar Messages

  • Why do I get ?'s instead of images when e-mails are received?

    Why do I get a question mark instead of an image when I receive e-mails?

    When you receive email in HTML format (that is, as a web page), the message will usually contain links to images hosted on a remote server. When you display those images, the sender of the message will know that you've read his message, when you read it, who your ISP is, and approximately where you are. You may regard this as an invasion of your privacy. If the message is spam, then your address has been confirmed as valid and you've been confirmed as someone who opens spam messages. That will ensure you get even more spam.
    If you're using the Mail application, you can prevent that information from being sent out. Select
    Mail ▹ Preferences ▹ Viewing
    from the menu bar and uncheck the box marked
    Display remote images in HTML messages
    You'll still be able to display images when you want to by clicking the button marked
    Load Images
    in the top right corner of the message window. If you do want the images to load automatically, check the box.

  • I get the "s" instead of "a" when texting. Why doesn't auto correct catch this

    I get the "s" instead of "a" when texting. Why doesn't auto correct catch this?

    Because there's no error in a single letter. Learn how to type.

  • [Forum FAQ] How to configure a Data Driven Subscription which get multi-value parameters from one column of a database table?

    Introduction
    In SQL Server Reporting Services, we can define a mapping between the fields that are returned in the query to specific delivery options and to report parameters in a data-driven subscription.
    For a report with a parameter (such as YEAR) that allow multiple values, when creating a data-driven subscription, how can we pass a record like below to show correct data (data for year 2012, 2013 and 2014).
    EmailAddress                             Parameter                      
    Comment
    [email protected]              2012,2013,2014               NULL
    In this article, I will demonstrate how to configure a Data Driven Subscription which get multi-value parameters from one column of a database table
    Workaround
    Generally, if we pass the “Parameter” column to report directly in the step 5 when creating data-driven subscription.
    The value “2012,2013,2014” will be regarded as a single value, Reporting Services will use “2012,2013,2014” to filter data. However, there are no any records that YEAR filed equal to “2012,2013,2014”, and we will get an error when the subscription executed
    on the log. (C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles)
    Microsoft.ReportingServices.Diagnostics.Utilities.InvalidReportParameterException: Default value or value provided for the report parameter 'Name' is not a valid value.
    This means that there is no such a value on parameter’s available value list, this is an invalid parameter value. If we change the parameter records like below.
    EmailAddress                        Parameter             Comment
    [email protected]         2012                     NULL
    [email protected]         2013                     NULL
    [email protected]         2014                     NULL
    In this case, Reporting Services will generate 3 reports for one data-driven subscription. Each report for only one year which cannot fit the requirement obviously.
    Currently, there is no a solution to solve this issue. The workaround for it is that create two report, one is used for view report for end users, another one is used for create data-driven subscription.
    On the report that used create data-driven subscription, uncheck “Allow multiple values” option for the parameter, do not specify and available values and default values for this parameter. Then change the Filter
    From
    Expression:[ParameterName]
    Operator   :In
    Value         :[@ParameterName]
    To
    Expression:[ParameterName]
    Operator   :In
    Value         :Split(Parameters!ParameterName.Value,",")
    In this case, we can specify a value like "2012,2013,2014" from database to the data-driven subscription.
    Applies to
    Microsoft SQL Server 2005
    Microsoft SQL Server 2008
    Microsoft SQL Server 2008 R2
    Microsoft SQL Server 2012
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    For every Auftrag, there are multiple Position entries.
    Rest of the blocks don't seems to have any relation.
    So you can check this code to see how internal table lt_str is built whose first 3 fields have data contained in Auftrag, and next 3 fields have Position data. The structure is flat, assuming that every Position record is related to preceding Auftrag.
    Try out this snippet.
    DATA lt_data TYPE TABLE OF string.
    DATA lv_data TYPE string.
    CALL METHOD cl_gui_frontend_services=>gui_upload
      EXPORTING
        filename = 'C:\temp\test.txt'
      CHANGING
        data_tab = lt_data
      EXCEPTIONS
        OTHERS   = 19.
    CHECK sy-subrc EQ 0.
    TYPES:
    BEGIN OF ty_str,
      a1 TYPE string,
      a2 TYPE string,
      a3 TYPE string,
      p1 TYPE string,
      p2 TYPE string,
      p3 TYPE string,
    END OF ty_str.
    DATA: lt_str TYPE TABLE OF ty_str,
          ls_str TYPE ty_str,
          lv_block TYPE string,
          lv_flag TYPE boolean.
    LOOP AT lt_data INTO lv_data.
      CASE lv_data.
        WHEN '[Version]' OR '[StdSatz]' OR '[Arbeitstag]' OR '[Pecunia]'
             OR '[Mita]' OR '[Kunde]' OR '[Auftrag]' OR '[Position]'.
          lv_block = lv_data.
          lv_flag = abap_false.
        WHEN OTHERS.
          lv_flag = abap_true.
      ENDCASE.
      CHECK lv_flag EQ abap_true.
      CASE lv_block.
        WHEN '[Auftrag]'.
          SPLIT lv_data AT ';' INTO ls_str-a1 ls_str-a2 ls_str-a3.
        WHEN '[Position]'.
          SPLIT lv_data AT ';' INTO ls_str-p1 ls_str-p2 ls_str-p3.
          APPEND ls_str TO lt_str.
      ENDCASE.
    ENDLOOP.

  • HT1918 why am i getting 'your purchase cannot be completed' when gifting apps. worked first 3 times then this.

    why am i getting 'your purchase cannot be completed' when gifting apps. It worked for 3 purchases then stopped

    Pete, you have found like many before you, that eventually software becomes out of date, where software developers at different points no longer support old versions of their product, which eventually fossilizes your computer. It is inevitable.
    You have heard of dog years, well computer years are even shorter, which makes your seven year old laptop certainly middle aged. It is still useful, running the applications it always has, so keep it. But online its years will show.
    With the internet, new software developments affect browsers, and plugins, with java, flash etc.
    Software development is often in step with hardware innovation, and most Apple hardware is not very upgradable and Apple don't support things for very long.
    This leaves you with a an old PowerBook that will still be good for the things it does, though it will have increasing limitations with some modern internet media sites.
    Mozilla no longer support 10.4 Tiger but fortunately there is a group who have kept it alive with their version of Firefox,
    http://www.floodgap.com/software/tenfourfox/
    Check it out, it may be just what your need.

  • Why do we get a load of rubbish software when we perform a Flash Update?

    Why do we get a load of rubbish software when we perform a Flash Update?

    HKHash wrote:
    All I know is that after I inocently updated my Adobe Flash I gained three programs (I did not ask for or want) - one was backup, another offered to make my PC run faster and the last was mysearchdial Search which managed to update my default web page. (What right have you got to allow this?). To remove these programs took me 20+ minutes as each required me to reboot. I've lost my trust in Adobe
    Those DID NOT come from an Adobe update.
    Note: the ONLY software that is bundled with Adobe "freeware" is:
    McAfee Security Scan
    Norton Security Scan
    Google Chrome and Toolbar
    Lightroom (trial - Mac ONLY)
    Whatever you downloaded and installed was from a third party site and more than likely WAS NOT a legitimate download of Flash Player, if it was Flash Player at all.

  • Why do I get a conversion failure every time when I try to merge documents together???

    Why do I get a conversion failure every time when I try to merge documents together???

    Hi mdrhine,
    I'm sorry that you've been unable to merge files. Let's see what we can figure out.
    Are you unable to merge any files? How large are the files that you're trying to merge, and how many are you trying to merge at once?
    If you're merging more than a few files, or those files are particularly large, ttry merging those files in smaller batches. If one or more files is causing the conversion failure, merging in smaller batches should help you isolate the problematic file or files.
    I look forward to hearing back from you with some details about the files that you're trying to merge.
    Best,
    Sara

  • Why do I get a grid over my image when I first open it up?

    Why do I get a grid over my image when I first open it up?  I've looked in my preferences and can't find a way to have this issue stop.

    Are you saying that if you turn off the Grid, it reappears the next time you open an image?  That is obviously wrong, and tjhe setting is in Preferences as you surmised, so if that is what is happening, I'd try deleteing the preferences file to reset it.  (Shift Alt Ctrl while you lauch Photoshop)

  • Why do I get a "computer not authorized message" when it is authorized?

    Does anyone know why do I get a "computer not authorized message" when it is authorized and how to fix the problem?  I downloaded a couple of new apps on my iPhone and these wont sych with my iMac

    i have the same problem but i have not found a way to fix it

  • Why do I get a norwegian version of MUSE when all the other Adobe programs are in english version? I have setup the installer to English.

    Why do I get a norwegian version of MUSE when all the other Adobe programs are in english version? I have setup the installer to English.

    Muse uses AIR and if that is installed in Norwegian, so Muse will show stuff in that language. You may simply need to reinstall Adobe AIR in English.
    Mylenium

  • Why do I get a red or green flicker when i update my current iMovie project?

    Why do I get a red or green flicker when i update my current iMovie project?

    Hi Cactusbarb,
    If the LCD screen is turning red, your camcorder will require service to correct this issue.  If you're seeing the red "Rec" dot, then the recording stops, you may need to use a faster memory card.
    We recommend the use of Speed Class 6 or 10 memory cards with this camcorder.
    If you determine that y our camcorder requires service, please contact us at [email protected] for service options.  Let us know the model camcorder and your zip code.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Why do I get a 'green' or 'blue' message when I text/

    Why do I get a 'green' or 'blue' message when I send a text message?

    blue messages are imessage.  this is an apple feature that lets you text between ipads, ipods, iphones, and in os x 10.8 macs as well.
    http://www.apple.com/iphone/built-in-apps/messages.html
    Green texts are just normal texts between you and your friends who aren't using ios 5 or arent using an iphone

  • Why did i get charged a $5 late fee when I just recieved my bill?

    Why did i get charged a $5 late fee when I just recieved my bill?

        Oh, that's strange! Your bill should be due approximately the same time each month. It seems like this charge is referring to a bill that we didn't receive payment for last month. Make sure to check all charges at vzw.com and review all the payments were made.
    MarquiaF_VZW
    Follow us on Twitter @VZWSupport

  • HT1933 why am i getting charges on my credit card when iu am not buying anything?

    why am i getting charges on my credit card when i am not buying anything?

    First, if you're using an iOS device, make sure that you did not inadvertently make an in-app purchase. Many apps, particularly games, are free for the base game but charge for additional features such as levels, "coins" and other such add-ons. Check your Purchase History to see if that reminds you as to what you might have purchased:
    http://support.apple.com/kb/HT2727
    If you find that these were in-app purchases, to prevent this from happening again, turn off "In App purchases" in the Restrictions settings on your device. For more information, see:
    http://support.apple.com/kb/HT4213
    As to a refund, that's not automatic since the terms of sale for the iTunes Store state that all sales are final. You can contact the iTunes Store, explain the reason for your request, and ask, though:
    http://www.apple.com/support/itunes/contact.html
    They're usually pretty lenient in the case of inadvertent purchases, but there are no guarantees.
    If the charges are not in-app purchases that you made and forgot but the charges do appear in your Purchase History, contact the iTunes Store and let them know. You should also immediately change your password for your Apple ID. If the charges don't appear in your Purchase History, they were probably fake charges made directly to your credit card, and your card issuer will need to handle those.
    Regards.

  • How do I stop getting aclk (GIF image,1x1 pixels) when selecting some pages

    How do I stop getting aclk (GIF image,1x1 pixels) when selecting some pages
    == This happened ==
    Not sure how often
    == opening some pages

    It is Kaspersky that is doing that. It intercepts the content and passes that image to Firefox instead of the real content. You should complain on the Kaspersky forum about this if you disagree with the decision made by Kaspersky to send such an image in this case.
    You can look at Adblock Plus instead.
    * Adblock Plus: https://addons.mozilla.org/firefox/addon/adblock-plus/
    You need to subscribe to a Filter list (e.g. the EasyList).
    * http://adblockplus.org/en/subscriptions
    * http://adblockplus.org/en/getting_started

Maybe you are looking for

  • I'm having trouble installing Flash Player 11.3.300.257

    Last week I got an automatic pop up to update Flash Player. I did as I normally do and a little while later I noticed that Flash Player is no longer working on my computer. My system: Dell Precision Workstation 690 Windows 7 Ultimate (64 bit) Mozilla

  • Global variable in reporting

    Hi RSZGLOBV is used to find all variable from this table? how can i get text for that variable? any t-code or table is there to get variable text also?

  • Adding Condition types to ME11

    hello gurus! My requirement is to add freight condition types to ME11 while creating info records. The users should enter freight conditions unconditionally w/o which the info record should not be saved. I tried validating this before save. I used Ba

  • Replace tab character from string in ABAP

    hi experts, I have a string like this "a<tab character>b<tab character>c<tab character>d". for my processing i want the output like "abcd". How can i replace all occurances of this tab character from my string. tab character = a hexa decimal characte

  • Getting Internal compilation error In BPEL

    Hi, We have createa a bpel process using flow. WHile compiling we are facing the below error. Can any one help on this. Error: Internal compiler error. An internal error has occurred while attempting to process the BPEL process file "<BPELProj>\bpel\