Data type conversion issues between Oracle and SQL Server

Hi there, I am using Heterogeneous Services to insert into a SQL Server database. I am running into an issue between data types regarding Oracle's VARCHAR2 and trying to insert that into a SQL Server MONEY data type. I tried using the TO_NUMBER() function to convert my VARCHAR2 to a number, but that didn't seem to help.
Does anyone have any advice on how to work around this??
Thanks for any help,
ivalum21

ORA-02047: cannot join the distributed transaction in progress
ORA-06512: at "MY_PACKAGE_NAME", line 263
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC]DRV_Execute: DB_ODBC_ENGINE (1645): ;
[Microsoft][ODBC SQL Server Driver][SQL Server]Disallowed implicit conversion
from data type varchar to data type money, table 'tableA',
column 'total_amount'. Use the CONVERT function to run this query. (SQL
State: 37000; SQL Code: 260)
ORA-02063: preceding 2 lines from SQLSERVER_LINK
ORA-06512: at "RCDTPUMP.CAMPUSCALL_DATAPUMP_UNI", line 875
ORA-06512: at "RCDTPUMP.CAMPUSCALL_DATAPUMP_UNI", line 791
ORA-06512: at "RCDTPUMP.CAMPUSCALL_DATAPUMP_UNI", line 1156
ORA-06512: at line 1
That is what I get when I take out the TO_NUMBER()
Message was edited by:
ivalum21

Similar Messages

  • Data sync between oracle and sql server

    Greetings Everyone,
    Your expert views are highly appreciable regarding the following.
    We at work are evaluation different solutions to achieve data synchronization between oracle and sql server data bases. Data sync i mentioned here is for live applications. We are runnign oracle EBS 11i with custom applications and intending to implement a custom software based on .NET and SQL Server. Now the whole research is to see updates and data changes whenever happens between these systems.
    I googled and found Oracle Golden Gate, Microsoft SSIS, Wisdom Force from Informatica....
    If you can pour in more knowledge then it's great.
    Thank You.

    Most of the work involved has to be done through scripts and there is no effective GUI to implement OGG.However using commands is not vey togh and they are very intutive.
    These are the steps, from a high level:
    1.Get the appropriate GG Software for your source and target OS.
    2.Install GG on source and target systems.
    3.Create Manager and extract processes on source system
    4.Create Manager and replicat processes on target system
    5.Start these processes.
    First try to achieve uni-directional replication. Then Bi-directional is easy.I have implemented bi-directional active active replication using Oracle DBs as source and target. Refer to Oracle installation and admin guides for more details.
    Here is a good article that may be handy in your case.
    http://www.oracle.com/technetwork/articles/datawarehouse/oracle-sqlserver-goldengate-460262.html
    Edited by: satrap on Nov 30, 2012 8:33 AM

  • Question about transfer between oracle and sql server

    Could i program to transfer lots of data between Oracle and SQL Server quickly?
    I have tried make two connection between two databases, but it took me lots of time to transfer data.
    How could I do it?
    Thanks

    Hi,
    If you need to move data fast, then use the Oracle Migration Workbench to Generate SQL Server BCP data extraction scripts and Oracle SQL Loader files.
    This is the fastest way to migrate the data.
    In the Oracle Model UI tab of the Oracle Migration Workbench, right mouse click on the tables folder. there is a menu option to 'Generate SQL Loader ...' scripts. This will help you migrate your data efficiently.
    Regards
    John

  • How to create database link between oracle and SQL Server

    Hello Everyone,
    Here i have Oracle Database 9i and SQL Server 2005 databases.
    I have some tables in sql server db and i want to access from Oracle.
    How to create a database link between these two servers
    Thanks,

    Thanks for Everyone,
    I was struggle with this almost 10 days....
    I created Database link from Oracle to SQL Server
    Now it is fine.........
    Here i am giving my servers configuration and proceedure how i created the db link...@
    Using Generic Connectivity (HSODBC) we can create db link between Oracle and SQL server.
    Machine (1)
    DB Version : Oracle 9.2.0.7.0
    Operating System : HP-UX Itanuim 64 11.23
    IP : 192.168.0.31
    Host : abcdbt
    Machine (2)
    Version : SQL Server 2005
    Operating System : Windows server 2003 x86
    IP : 192.168.0.175
    Host : SQLDEV1
    User/PW : sa/abc@123! (Connect to database)
    Database : SQLTEST (exsisting)
    Table : T (“ T “ is the table existing in SQLTEST database with 10 rows)
    Prerequisites in Machine (2):
    a)     Oracle 10g software
    b)     User account to access SQL Server database (sa/abc@123!)
    c)     Existing SQL Server Database (SQLTEST)
    d) Tables (testing purpose) (T)
    Steps:
    1)     Install Oracle 10.2.0.1 (Only SW,No need of database) *(Machine 2)*
    2)     Create a DSN where your windows Oracle 10g SW resides *(Machine 2)*
    Control panel >> Administrative Tools >> Data Source (ODBC) >> System DSN ADD
    You can follow this link also.....
    http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
    I created DSN as
    DSN name : SQLTEST
    User : SA/abc@123! (Existing user account)
    Host : 192.168.0.175 (machine 2)
    Already I have 1 database in SQL Server with the name SQLTEST
    You can create DSN with different name also (not same as db name also)
    3)     Create a hsodbc init file in $ORACLE_HOME\hs\admin *(Machine 2)*
    Create init<DSN NAME> file
    Ex: initSQLTEST
    Copy inithsodbc to initSQLTEST
    And edit
    initSQLTEST file
    HS_FDS_CONNECT_INFO = SQLTEST    <DSN NAME>*
    HS_FDS_TRACE_LEVEL = OFF*
    save the file....@
    4)     Configure Listener.ora *(Machine 2)*
    LISTENER_NEW =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.175)(PORT = 1525))
    SID_LIST_LISTENER_NEW =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = SQLTEST) *+< Here SQLTEST is DSN NAME >+*
    (ORACLE_HOME = G:\oracle 10g\oracle\product\10.2.0\db_1)
    (PROGRAM = hsodbc))
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = G:\oracle 10g\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc) )
    :> lsnrctl start LISTENER_NEW
    5)     Configure tnsname.ora *(Machine 2)*
    SQLTEST11 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.175)(PORT = 1525))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = SQLTEST))
    (HS=OK)
    :> tnsping SQLTEST11
    If No errors then conti….
    6)     Configure a file *(Machine 1)*
    Cd $TNS_ADMIN ($ORACLE_HOME/network/admin)
    Create a file
    $ vi TEST_abcdbt_ifile.ora
    something=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST =192.168.0.175) (PORT=1525))
    (CONNECT_DATA=
    (SID=SQLTEST))
    (HS=OK)
    $ tnsping something
    $ sqlplus system/manager
    Your connected to Oracle database *(machine 1)*
    create database link xyz connect to “sa” identified by “abc@123!” using ‘SOMETHING’;
    select * from t@xyz;10 rows selected.
    Thanks,
    Edited by: ram5424 on Feb 10, 2010 7:24 PM

  • Database link between oracle and sql server

    dear all,
    i m a newbie to oracle and i need your help to know how to create a database link between oracle and sql server.my oracle version 10.2.0.3 and platform is redhat linux 5.7.your help appreciated.
    thanks in advance.

    [oracle@localhost ~]$ rpm -qa | grep -i odbc
    php-odbc-4.3.9-3.15
    unixODBC-kde-2.2.11-1.RHEL4.1
    MyODBC-2.50.39-21.RHEL4.1
    postgresql-odbc-7.3-8.RHEL4.1
    freeradius-unixODBC-1.0.1-3.RHEL4.3
    qt-ODBC-3.3.3-9.3
    unixODBC-devel-2.2.11-1.RHEL4.1
    unixODBC-2.2.11-1.RHEL4.1
    is this showing odbc installed in os?

  • Replication between Oracle and SQL Server

    Does anyone have any experience with replicating data between SQL Server and Oracle database system? If so, I am experiencing time out errors when replicating data. I replicating from SQL Server 2k to Oracle and it time out on the Oracle side.

    how to configure my apply process to work with sql server by getway , I want to make replication
    note :
    I make dblink between oracle and sql and make insert from oracle to sql
    is it sufficient to make replication by OEM between oracle and oracle and then add new apply process to work with gateway for sql server and how ?

  • I need step by step way to make replication between oracle and sql server

    I succeeded in make dblink between oracle and microsoft sql
    and I try to insert data using dblink to microsoft sql
    what will I do now to make replication between them

    how to configure my apply process to work with sql server by getway , I want to make replication
    note :
    I make dblink between oracle and sql and make insert from oracle to sql
    is it sufficient to make replication by OEM between oracle and oracle and then add new apply process to work with gateway for sql server and how ?

  • Sorting differences between Oracle and SQL Server

    Hello All,
    This question is related to both Oracle and SQL Server
    I have a requirement where I want to compare 2 tables line by line. One table is in Oracle and other table is in SQL Server
    And suppose that both of the tables don't have a primary key. Now when I sort the records using order by clause for a column then -
    Rows having null values in that column of Oracle are placed at the bottom.
    Where as Rows having null values in the same column of SQL Server are placed right at the top.
    How can I make either of them to behave like other.
    My sole aim is to have same order of occurrence of rows in both Oracle and SQL Server tables so that I can compare them line by line.

    For example :
    select * from emp order by comm;
    So all null value in comm column are at the end.
    Now if you wish to get them on the top of select output then :
    SELECT EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,NVL(COMM,0) COMM,DEPTNO FROM EMP ORDER BY COMM;
    Means i am using NVL (oracle function) function. If comm column is having null value it will converted to zero value at the time of exectuion of select query.
    So, now comm column is having zero value in select output and SQL Server is having nulls at the top. I do'nt know who to make nulls to zero in SQL Server. So issue solved.
    HTH
    Girish Sharma

  • Developing database views between Oracle and SQL Server tables

    I am on Oracle 10.2, my organization has many SQL Server databases as well and has now made
    SQL server as company standard so many new databases will be developed in SQL Server. It is of course
    not possible to convert all Oracle databases to SQL Server, so a mix environment will exist. Two questions:
    1.     Is it possible to develop database views in Oracle (10g in my case) which join Oracle tables with tables in SQL Server 2008? If yes, how. I have seen some heterogeneous connectivity setup to connect SQL Server to Oracle, but not sure whether it is possible to develop a database view across two databases.
    2.     I know it is not a SQL Server forum, but many DBA’s know both Oracle and SQL Server. Is it possible to develop views in SQL Server (SQL Server 2008 R2 in my case) which join Oracle 10g and SQL Server 2008 tables? I know in SQL Server, there is way to set up linked servers, but do not know whether it is possible to develop views.
    Thanks a lot for your insight.

    You can create views that join local Oracle tables and remote SQL Server tables. I'm pretty sure you can do the reverse as well but I haven't personally done it.
    However, I would be very concerned about the performance you'd get if you created that sort of view. You'd very frequently end up in a situation where Oracle has to pull all the data in the remote table across the database link in order to apply predicates and join the data locally. That could be disastrous from a performance standpoint.
    Justin

  • Hetrogeneoues connection between Oracle and SQL server

    Hi ,
    I am having Issues in Making Heterogeneous  DB link between Oracle Xe and sql server .
    Here is the scenario-
    My Oracle and ms SQL 2003 are running on same machine(windows 2003) ,
    I have followed this link and reached till 5 but I am not able to tnsping the SQLSERVER DNS entry .
    http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
    Below are my lintener and tnsfiles
    LISTENER.ORA
    ===========================================================================================================================================================
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = extproc)
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = extproc)
           (ENVS = "EXTPROC_DLLS=ONLY:C:\oraclexe\app\oracle\product\11.2.0\server\bin\OraClr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    LISTENERSQL =
    (ADDRESS_LIST=
          (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
          (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
    SID_LIST_LISTENERSQL=
      (SID_LIST=
          (SID_DESC =
           (SID_NAME = SQLSRVRDBLNK)
           (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
           (PROGRAM = hsodbc)
    ===========================================================================================================================================================
    TNSNAMES.ORA
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = testenviroment)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    SQLSRVRDBLNK  =
      (DESCRIPTION=
    (ADDRESS=  (PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
    (CONNECT_DATA=(SID=SQLSRVRDBLNK)
      (HS=OK)
    ========================================================================================================================================================
    Listner Status
    C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN>lsnrctl status LISTENERSQL
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 19-JUL-2013 13:15:59
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
    STATUS of the LISTENER
    Alias                     LISTENERSQL
    Version                   TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
    Start Date                19-JUL-2013 12:17:39
    Uptime                    0 days 0 hr. 58 min. 24 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\listener.ora
    Listener Log File         C:\oraclexe\app\oracle\diag\tnslsnr\testenviroment\listenersql\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\PNPKEYipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
    Services Summary...
    Service "SQLSRVRDBLNK" has 1 instance(s).
      Instance "SQLSRVRDBLNK", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    =========================================================================================================================================================
    Now If I try to Tnsping SQL heterogeneous connection , i get
    C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN>tnsping SQLSRVRDBLNK
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 19-JUL-2013 13:17:47
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION=
    TNS-12533: TNS:illegal ADDRESS parameters
    Need Help , please suggest
    Thanks,
    Manish

    Hi ,
    Thanks for the update I have changed the Listener as suggested , now my Listener File is
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = extproc)
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = extproc)
        (SID_DESC =
           (SID_NAME = SQLSRVRDBLNK)
           (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
           (PROGRAM = hsodbc)
           (ENVS = "EXTPROC_DLLS=ONLY:C:\oraclexe\app\oracle\product\11.2.0\server\bin\OraClr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST=
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.60.146)(PORT = 1521))
          (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
          (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522)))
    ========================================================================================================================
    and tns entry 
    SQLSRVRDBLNK  =
      (DESCRIPTION=
    (ADDRESS=  (PROTOCOL= TCP)(HOST=192.168.60.146)(PORT=1522))
    (CONNECT_DATA=(SID=SQLSRVRDBLNK)
      (HS=OK)
    ========================================================================================================================
    Restarted the listener
    C:\Documents and Settings\Administrator>lsnrctl start LISTENER
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 20-JUL-2013 12:27:38
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
    System parameter file is C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\listener.ora
    Log messages written to C:\oraclexe\app\oracle\diag\tnslsnr\testenviroment\listener\alert\log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.60.146)(PORT=1521)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\PNPKEYipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
    Start Date                20-JUL-2013 12:27:44
    Uptime                    0 days 0 hr. 0 min. 5 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\listener.ora
    Listener Log File         C:\oraclexe\app\oracle\diag\tnslsnr\testenviroment\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.60.146)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\PNPKEYipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "SQLSRVRDBLNK" has 1 instance(s).
      Instance "SQLSRVRDBLNK", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    ========================================================================================================================
    Still Getting the same Error
    C:\Documents and Settings\Administrator>tnsping SQLSRVRDBLNK
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 20-JUL-2013 12:27:52
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION=
    TNS-12533: TNS:illegal ADDRESS parameters
    C:\Documents and Settings\Administrator>
    ========================================================================================================================
    Do we need to change any thing in sqlnet.ora file for heterogeneous connection?
    Thanks ,
    Manish

  • Urgent: \connectivity between oracle and SQL Server

    Hi I have a problem, a person in some of the dept's in office created a small oralce forms application that uses a oracle db10gr2 installed on personal pc (windows xp)to connect to a sql server to pull data. Recently the sql server was upgraded to blade 2008 from blade 2003. Then aplication stopped connecting correctly I think it has to do with the listener but not sure where the problem lies.
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 24-JUN-2010 14:51:12
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Start Date 24-JUN-2010 14:46:39
    Uptime 0 days 0 hr. 4 min. 33 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File G:\myoracledb\network\admin\listener.ora
    Listener Log File G:\myoracledb\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sankar)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "cvr" has 1 instance(s).
    Instance "cvr", status UNKNOWN, has 1 handler(s) for this service...
    Service "hsodbc" has 1 instance(s).
    Instance "hsodbc", status UNKNOWN, has 1 handler(s) for this service...
    Service "mentor" has 1 instance(s).
    Instance "mentor", status UNKNOWN, has 1 handler(s) for this service...
    Service "myoracle" has 1 instance(s).
    Instance "myoracle", status READY, has 1 handler(s) for this service...
    Service "myoracleXDB" has 1 instance(s).
    Instance "myoracle", status READY, has 1 handler(s) for this service...
    Service "myoracle_XPT" has 1 instance(s).
    Instance "myoracle", status READY, has 1 handler(s) for this service...
    Service "person" has 1 instance(s).
    Instance "person", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    these are diff instances of the sql server..
    If anyone can please help? I do not know much about oracle on windows XP . thanks a lot!!!

    Hi,
    the system dsn works fine it even tests correctly, but teh database link does not work even for something as simple as
    select sysdate from dual@person;
    the db link is a public one so priviledges should not be an issue and the command i used to create it is:
    create public database link person connect to USER identified by pwd using 'person';
    also unfortunately this is an employee initiative (said empoyee has left without documentation or notes) and there is no oracle support.
    thanks in advance.

  • Matching data types b/w oracle and sql server

    anyone here knows if there is a list of data types supported by both oracle and sql server (regardless of releases & versions?
    an immediate response would be highly appreciated.
    thanks.

    Hi,
    The following post might be of assistance to you:
    http://msdn.microsoft.com/en-us/library/ms151817.aspx
    If this is what you're looking for, then mark the question as answered and closed.
    Regards,
    Naveed.

  • Oracle and SQL Server connectivity

    Hello,
    Currently, we use Oracle as our enterprise database. I have a new requirement to develop a new application that must use MS SQL Server which must push and pull data from the Oracle database.
    What is the best technical solution to have this communication between Oracle and SQL Server.
    Thank you.

    if you are connecting to SQL Server from Oracle then yes HS through ODBC (check HS forum), but if you are pulling data from SQL server you have an option of DTS or "shared" server through ODBC, see MS documentation for that......you won't find it on oracle forum......
    Eugene Roytman

  • Oracle and Sql Server Physical Schema

    Hi Forumer,
    I am new to the ODI, and trying to use it for few of the POCs.
    I know that the ODI supports mulitple types of technologies like Oracle, MS SQL Server, etc. quite well.
    My requirements are something like this:
    I have two same application database instances, one is on Oracle and the other is on the MS SQL Server. If I have a table say XYZ in Oracle, I have the same table the MS SQL Server also (Same structure column names, data domain, etc.). In other words both of them logically the same.
    I have a third instance of Oracle acting as the target for both of the above mentioned sources.
    Is it possible to have the target populated from these instances using only one interface? (Since logically they mean the same and the interface design would be also the same).
    So what I want to achieve is essentially like this:
    Say if I run the Interface in context 1 then the interface would populate the data into the target Oracle table from the source Oracle instance table.
    And if I run the Interface in context 2 then the interface would populate the data into the target Oracle table from the source MS SQL Server instance table.
    I know such a thing is possible if the both of the source instances are in the same technologies like Oracle, but my requirements are for the Heterogenous sources.
    Please share your ideas about it.
    Thanks

    There is no problem for what you ask,
    you can change your source depending of your context and it works with same technologies Source or heterogenous Technologies.
    Once you have define your connexion (physical and logical Schémas for the both technologies) you have to define your bridge between logical schemas.
    In the Topology module by clicking on your first logical Schema, Oracle in your exemple, you can define for another context the use of another Schema.
    You will define Oracle in Context one and MS SQL SERVER for Context2.
    When you have done this you have tocreate yôur interface with Oracle Datastore and when ODI will see an Oracle Datastore on Context 2 it will transform it in MS SQL SERVER.

  • JDBC Connection between Unix and SQL Server 2000

    I have SQL Server 2000 installed in a pc as a data server and SQL Server 2000 JDBC Drive installed in a Unix machine. Both machines are connected and can ping each other. After setting up the environment data, I ran a test code to test the connection and got exceptions. ( I did the same process between a pc and the data server, it works well.)
    Attached are the test code and error message. Hope someone can help me.
    ******* Test Code ********
    import java.sql.*;
    * Microsoft SQL Server JDBC test program
    public class Test {
    public Test() throws Exception {
    // Get connection
    DriverManager.registerDriver(new
    com.microsoft.jdbc.sqlserver.SQLServerDriver());
    Connection connection = DriverManager.getConnection(
    "jdbc:microsoft:sqlserver://<hostname>","<username>","<password>");
    if (connection != null) {
    System.out.println();
    System.out.println("Successfully connected");
    System.out.println();
    // Meta data
    DatabaseMetaData meta = connection.getMetaData();
    System.out.println("\nDriver Information");
    System.out.println("Driver Name: "
    + meta.getDriverName());
    System.out.println("Driver Version: "
    + meta.getDriverVersion());
    System.out.println("\nDatabase Information ");
    System.out.println("Database Name: "
    + meta.getDatabaseProductName());
    System.out.println("Database Version: "+
    meta.getDatabaseProductVersion());
    } // Test
    public static void main (String args[]) throws Exception {
    Test test = new Test();
    ******* error message ********
    Exception in thread "main" java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.sql.SQLException.<init>(SQLException.java:64)
    at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
    at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)
    at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
    at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
    at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
    at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(DriverManager.java:137)
    at Test.<init>(Test.java:10)
    at Test.main(Test.java:32)
    ************ end of message ***********

    If it works from a PC and not from the Unix box then you may have a network issue of some sort, I.E. firewall not letting it through etc.
    Try using telnet on the Unix box to see if you can connect to the sql server on the port that the SQL server is listening.
    E.G.
    telnet server_name 1433
    You may need to change the port number to the one that the SQL server is using.
    Col

Maybe you are looking for

  • IPod Nano 6th generation is decteded but could not be identified - help!

    I have a iPod nano 6th generation and until this morning it worked fine with iTunes Today when I plugged it in I get the following message...  iPod is detected but could not be identified properly... I have already 1. reinstalled iTunes 2. Tried othe

  • TS5376 version 11.1.4 R6034 error - followed instructions, still broke

    Version 11.1.4 R6034 error - followed instructions, still broke What do I do after un-installing, rebooting, deleting DLLs, and re-installing 3 times and I still get the same error? Instructions say to uninstall all related iTunes/apple products. Why

  • Is it possible to setup iTunes so, that it would automatically watch some directory?

    Is it possible to setup iTunes so, that it would automatically watch some directory, the way it works in similar programs like WinAMP and Songbird? In iTunes I have to "add" the same directory over and over again to see my new mp3s in iTunes's media

  • Tomcat 4.1.12 and J2re 1.4.0.03 HTTP 500 error

    Hi I am using the latest version of Apache Tomcat and J2SE on a NT machine. When I try to access http://localhost:8080/index.jsp I get the following error ... Some people mentioned looking for tools.jar. Is there a particular directory that it reside

  • IPod touch UDID change?

    Okay, next month, I'm possibly going to switch over to a Mac from a PC and I was wondering if my UDID changes when I switch computers, or if it just stays on my iPod all the time. I'm concerned about this because I have the 3.0 beta on my PC, but if