DB-link between Oracle and MSSQL - deleted decimal in one query

Hi all

I configured a heterogeneous connection between Oracle and MSSQL. Then, when I run a query, I get the results of a numeric field (38.2) without decimals. It seems that Oracle remove the decimal places.

The language in MSSQL is Modern_Spanish and in Oracle is Spanish as well.

The most curious is that the field of MSSQL is a FLOAT so I recover decimal values, but if it is the DECIMAL number I get the results of the query without decimals. So, it works with FLOAT but work not with DECIMAL.

Does anyone have an idea? Please I need some help on this...

Thanks in advance

Victor.

SQL Server internal decimal interpreters using a period as a separator. Try the parameter in the gateway init file:
HS_LANGUAGE = AMERICAN_AMERICA. WE8MSWIN1252

Tags: Database

Similar Questions

  • dblink oracle to postgres with dg4odbc. ORA-28500: connection between ORACLE and a non-Oracle system returned this message: ORA-02063: preceding line

    Hi, I am creating the database link from a database of Oracle 11 g PostgreSQL with DG4ODBC and unixODBC

    My configured for /etc/odbc.ini

    [PostgreSQL]

    Description = Test to Postgres

    Driver = psqlodbc

    Trace = Yes

    Trace file = /tmp/sql.log

    Database = danieldb

    ServerName =

    UserName = SA

    Password = password

    Port = 5432

    Protocol = 6.4

    ReadOnly = No

    RowVersioning = No

    ShowSystemTables = No

    ShowOidColumn = No

    FakeOidIndex = No

    My configured for /etc/odbcinst.ini

    [ODBC]

    CommLog = 1

    Debug = 1

    FileUsage = 1

    Layout common = No

    Trace = 1

    [psqlodbc]

    Description = PostgreSQL ODBC driver

    Driver=/usr/lib64/psqlodbcw.so

    CommLog = 1

    Debug = 0

    FileUsage = 1

    My configured for /u01/app/oracle/product/11.2.0/xe/hs/admin/initPostgreSQL.ora

    HS_FDS_CONNECT_INFO = PostgreSQL

    HS_FDS_TRACE_LEVEL = 0

    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbcpsql.so

    Set ODBCINI=/etc/odbc.ini

    My configured for /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora

    Listener =

    (ADDRESS = (PROTOCOL = TCP) (HOST = oracle-poc)(PORT = 1521))

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = PostgreSQL)

    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe)

    (PROGRAM = dg4odbc)

    (ENVS="LD_LIBRARY_PATH=/usr/lib64:/u01/app/oracle/product/11.2.0/xe/lib')

    )

    )

    My configured for /u01/app/oracle/product/11.2.0/xe/network/admin/tnsname.ora

    PostgreSQL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = oracle-poc)(PORT = 1521))

    (CONNECT_DATA =

    (SID = PostgreSQL)

    )

    (HS = OK)

    )

    I'm trying to created public database link:

    CREATE DATABASE LINK PUBLIC 'orapos' CONNECT to 'HIS' IDENTIFIED BY 'password' USING 'PostgreSQL ';

    When I used tnsping

    [root@oracle-poc admin] # tnsping PostgreSQL

    AMT Ping utility for Linux: Version 11.2.0.2.0 - Production on May 16, 2013 20:34:19

    Copyright (c) 1997, 2011, Oracle.  All rights reserved.

    Use settings files:

    /U01/app/Oracle/product/11.2.0/XE/network/admin/SQLNET.ora

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = oracle-poc)(PORT = 1521)) (CONNECT_DATA = (SID = PostgreSQL)) (HS = OK))

    OK (0 msec)

    and finally, I try to use the database link:

    "SQL > select * from tabel2"@orapos ".

    2;

    Select * from 'tabel2"@orapos '.

    *

    ERROR on line 1:

    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:

    ORA-02063: preceding the line of ORAPOS

    What wrong with my setup?

    Thank you and best regards,

    Daniel

    Daniel,

    The problem is that you are using the ODBC Postgres driver for the HS_FDS_SHAREABLE_NAME parameter, but this must be an ODBC driver manager and not the driver ODBC Psotgres.
    Go to the.

    http://www.unixODBC.org/

    Click the 'Download' and follow the instructions to download the 2.3.1 pilot and make libraries and programs.

    Once this is done, then use the driver as parameter HS_FDS_SHAREABLE_NAME Manager, for example-

    HS_FDS_SHAREABLE_NAME =/home/odbc64/unixODBC/2.3.1/lib/libodbc.so

    Depending on where you install it.

    Kind regards

    Mike

  • How can I fix the link between adobe and windows if I see .pdf not win32 application

    How can I fix the link between adobe and windows if I see .pdf not win32 application, without the disc?

    "Adobe" is the name of the company that provides a great many different applications.

    Adobe Reader is free and allows you to view pdf files.

    Adobe Acrobat is expensive and allows you to create, edit and view pdf files.

    Assuming that you are referring to the reader, uninstall all the versions of it using the control panel > add or remove programs.  Then either

    1. go to http://get.adobe.com/reader/?promoid=BUIGO and download the current version (remember to uncheck the box to install McAfee Security Scan Plus.

    or

    2. go to http://www.foxitsoftware.com/Secure_PDF_Reader/ and download Foxit Reader, a small pdf reader and many more.

    Then, install the reader that you have downloaded.

  • Link between Outlook and Adobe

    I think that the link between Outlook and Adobe Standard XI is broken. What should I do

    NICOS,

    Thank you for your offer to help but I managed to solve the problem, I reinstalled using Deil digital delivery.

    Thanks again

    Barrie

  • What is the difference between Oracle and MySQL

    Hello

    I would like to know the major difference between Oracle and MySQL. I have a project to generate tables of database XML files, I used the functions XML built oracle XMLELEMENT, XMLAGG XMLATTRIBUTES, XMLFOREST. I really want to know if these functions (or) similar functions are taken into charge/availabe in MySQL.

    I'm having a hard time finding better linux distro to install Oracle11g, so I intend to move to MySQL. Please help, thanks in advance.

    Supported operating system versions are documented - http://docs.oracle.com/cd/E11882_01/install.112/e24321/pre_install.htm#CIHFICFD

    HTH
    Srini

  • link between po and mtl tables

    Hello

    is there a link between po_headers_all and the inventory of the super user as mtl_system_items tables

    I need this info to get the last provider (according to the date of approval) for each element

    kindly Guide

    thanking in advance

    Hello

    There is no direct link between po_headers_all and mtl_system_items_b. You need to connect through po_lines_all:

    po_headers_all.po_header_id = po_lines_all.po_header_id
    po_lines_all.item_id = inventory_item_id mtl_system_items_b.

    It will be useful.

  • What is the difference between oracle and peoplesoft databases

    What is the difference between oracle and peoplesoft databases. How the tables of metadata between the two relate?

    According to my understanding, peoplesoft database exists as a schema on the oracle database.
    Please correct me if iam wrong.

    user4212454 wrote:
    ...
    The second statement, I realized that each schema created its specific use.
    for example, peoplesoft had 1000 objects (including the peopletools and application and system tables), each schema created above has access restrictions different on these database of 1000 objects. Am I wrong?

    Yes, each schema has its own purpose and the grant for objects of Peoplesoft. SYSADM is the owner of the objects of Peoplesoft with all rights. PS is the owner of one and same table, PSDBOWNER and the PEOPLE is granted to select three of these tables (PSOPRDEFN and PSACCESSPRFL PSDBOWNER).

    In addition, for DB2, what are the patterns of PeopleSoft?

    It is located in the installation documentation dedicated to the database you want to work on:
    http://download.Oracle.com/docs/CD/E15742_01/PSFT/HTML/docset.html

    The first statement, could you please elaborate on the part highlighted.

    A "Peoplesoft database" is nothing, it's terms to refer to a database containing everything you need to make a Peoplesoft application running.

    Nicolas.

  • Difference between Oracle and Prometric test center?

    What is the difference between Oracle and Prometric Testing Center?

    Pass the examination in a CTA is exactly the same as the exam at Prometric. The review is exactly the same and it's exactly the same thing. The only difference is the location where the examination is taken, so I believe that over-the-counter medications have set schedules to offer tests, take exams at Prometric can give you a little more freedom to your schedule.

    Answers to the questions:
    can you any valid CTA agent/Center in kolkata? Then I will be very grateful
    -You should go to www.oracle.com/education and you can search on the keywords "certification" or "OTC test"
    - Or you can call your local representative of OU. You can find your local numbers to http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=225
    -Please note that if you are in North America, your search for OTC drugs will not return any results. Over-the-counter medications are not available in North America.

    If someone got 051 OTC and 144 of a promeric / pearson since it granted as OCA?
    Yes

    List there is the offer of TBT that are testing to the general public?
    -You should go to www.oracle.com/education and you can search on the keywords "certification" or "OTC test"
    - Or you can call your local representative of OU. You can find your local numbers to http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=225
    -Please note that if you are in North America, your search for OTC drugs will not return any results. Over-the-counter medications are not available in North America.

    Is there a TBT in countries other than the United States., UK, Japan, Germany?
    -There is no over-the-counter drugs to the United States.
    -There are also over-the-counter drugs in Asia-Pacific

    CTA can be only in branches of Oracle or OAEP?
    -I don't know where are all over-the-counter medications. It is preferable to refer these questions to a representative of the ORGANIZATION unit. They will be better able to help.

    Kind regards
    Brandye Barrington
    Certification Forum Moderator
    Manager certification program

  • Link between Fillon and opportunities

    Hello


    I have a question about the link between campaigns and opportunities. I need to be able to bind the possibilities of campaigns (through the associated elements) and vice versa. I tried to organize it, but the only link that I can do is a related field of campaigns under the opportunity, but I am only able to create NEW opportunities and I can't link to the EXISTING possibilities. This relationship is very important for the company that I work, and I would really appreciate if someone could help me with this problem...


    Thanks in advance!
    Kind regards
    Vincent

    Hi Vincent,.

    There is an area on opportunities called source campaigns. It's actually the link.
    If you add the field at your disposal, you can make the link between the existing possibilities and campaigns.
    Once you have made the connection, opportunities will be displayed in the related news of the campaign section.

    I hope this helps.

    Floris

  • Can someone tell me why I lost all my accurate color between iPhoto and my C8180 All-in-one?

    I was full of pictures from iPhoto printing yesterday and all of a sudden the color accuracy went in the toilet.

    Everything is green and stupid.  It's terrible.  The strange part... it allows to print very well everywhere else.

    This morning, I slipped a photo from iPhoto to the desktop and then print it from there.  Went well.

    I lost something between iPhoto and my C8180 All-in-one printer.  I've never encountered this problem

    front.  I tried all of the suggestions of the printer, but I'm sure that's not the problem.  The printer and

    iPhoto do communicate specifically.  Someone?

    Thanks for the 2 responses I received.  Unfortunately, neither contributed to my problem.  The problem

    was not with my version of OS X or the HP software that has been installed.  As I have explained, this set-up has been

    works perfectly for the last 3-4 years.  With the help of my long-time friend and Mac user many, many

    years, we determined that it was a corrupt iPhoto preferences file.  We have replaced the files preference and

    It works perfectly again.  The problem had nothing to do the printer or it's software.  I am back

    in the business.  Hope this might help someone else.

  • Creating a DB link between mySQL and Oracle

    How can I create a dblink in mySQL to display the data in a table in Oracle 10g?

    Thank you
    Roald

    What is the OS of Oracle and MYSQL database?
    You can check the following link
    http://www.Pythian.com/news/1554/how-to-access-MySQL-from-Oracle-with-ODBC-and-SQL/

  • Link between ITC and CallManager Server

    Hi list;

    The link between the CallManager and the CTI server is done via JTAPI or one Trunk IP (as gatekeeeper of access using H.323 or SIP controller and so on)?

    Concerning

    Bilal

    Bilal,.

    If you plan to deploy the IPCC with Avaya or Nortel, he has no problem using CT Connect as a CTI server. In this case you don? business ICT or CTIOS need t. I have a deployment with ten Avaya Definity and ICM is used for intelligent routing between the ten Avayas and Envox CT Connect is the CTI server for the agents.

    You can not use CT Connect with the IPCC and CallManager, for later call center, because CT Connect do? do not provide Contact Center functions: login, logout, ready, etc. With the IPCC and CallManager, you can use CTIOS.

    For Avaya, Nortel and other OBXs, Envox CT COnnect provides functionality to connect, disconnect and change the status of the agent. For CallManager only provides functions of phone or the duties of the agent.

    Juan Luis

  • Reissue of active links between desktop and laptop

    Hello

    Is it possible to not have to re-edit the active link every time I spend between my desktop and my laptop when you work with the Muse? I have all my files in the cloud to Adobe, and every time I save and sync to my desktop, then open the files in Web site while traveling on my laptop, I have to spend a bit of time going back through and restoring links everything that I had done on my desktop. Files are taken from the same spot and registered to the same place (the cloud), so I don't know why I have to go back through and connect it all that I had just created when switching between desktop and laptop.

    Thanks for any help/input on this, I really appreciate it.

    Hi Davz,

    You will be able to use and edit your Muse file, even if you don't re - not link assets.

    It's just that you won't be able to change these assets, so you can redo the link assets whenever you need to make changes to the active files.

    Every time you switch machines, please save the latest version of your Muse file on a local disk and then use it. Using a .muse file saved on a cloud, or removable hard drive can cause problems.

    Also, I suggest you save a copy of all the files of components in a single folder (a local location, not the cloud or the removable hard drive); so, when Muse invite you to re - link assets, you can add a link to one of these files, and Muse will look in that folder for all your other missing links.

    Concerning

    Sonam

  • Sort of the differences between Oracle and SQL Server

    Hi all

    This question is linked by both Oracle and SQL Server

    I have a requirement where I want to compare 2 tables line by line. A table is in Oracle and other table in SQL Server

    And suppose that both tables do not have a primary key. Now when I sort records by using the order by clause for a column, then-

    Rows with null values in that column of Oracle are placed in the background.
    When that rows with null values in the same column in SQL Server are placed right at the top.

    How can I make one of them to behave like any other.

    My only goal is to have same order of lines in Oracle and SQL Server tables so that I can compare line by line.

    YADQ: Yet another Doc Question

    Can you please avoid them?

    Take your SQL reference manual, search for the ORDER BY clause and notice that it has
    NULL FIRST or LAST values NULL values.

    ------------
    Sybrand Bakker
    Senior Oracle DBA

  • Link between assets and projects

    Hi all

    We have developed some custom reports based on the link (pa_project_assets_all.asset_number = fa_additions_vl.asset_number).

    In the projects, we have the opportunity to complete do not some of the asset Details (Eg. ASSET_NUMBER) which can be updated within the fixed assets when records have been linked to PA to FA.

    In this case,'re missing us the link between (pa_project_assets_all.asset_number = fa_additions_vl.asset_number)

    It is standard (people's Republic of CHINA: active lines embraces the Oracle assets) program embraces that effectively update these fields (for example. Asset_Number, Fa_Asset_period).

    I've never used this program, I just went through the pl/sql code.

    Please suggest that we can use this program or not, if you already use.

    Thank you
    RAM

    Hi Ram,

    It takes standard Oracle embraces the active lines active Oracle projects after you interface with FA, in order to run this program without any problem.

    I hope this helps!

    Raju sirot
    www.projectsaccounting.com

Maybe you are looking for