ORA-28545 new (Oracle to MS SQL Server)

Hello world!

I have enough shame to deal with this problem, because there is so much advice here. I have tried almost everything ;) But no change at all.

So here's my system settings:

Oracle server:

10.2.0.4 64-bit on Windows Server 2003 x 64 standard

I set up a heretogeneous connection to a MS SQL Server.

(1) set up the DNS system in the ODBC data source named "Chantal"-> tested, working.

(2) listener.ora changed the following (only the new listener is shown here)
HSODBC_LISTENER = 
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = NOT4223)(PORT = 1522))
  )

SID_LIST_HSODBC_LISTENER =
  (SID_LIST =
    (SID_DESC=
     (SID_NAME = mycon)
     (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
     (PROGRAM = hsodbc)
    )
  )
(3) tnsnames changed as a result of:
mycon =
  (DESCRIPTION =
    (ADDRESS_LIST = 
      (ADDRESS = 
        (PROTOCOL=TCP)
        (HOST = NOT4223)
        (PORT = 1522)
      )
    )
    (CONNECT_DATA = 
      (SID = mycon)     
    )
    (HS = OK)
  )
(4) cloned the file initodbc.ora in the folder of the hs, it renamed to 'initmycon.ora' and changed the content of the following:
HS_FDS_CONNECT_INFO = mycon
HS_FDS_TRACE_LEVEL = debug
5) area-> "global names" setting of my instance is set to false.

(6) HSODBC_LISTENER started-> no problem:

TNSLSNR for 64-bit Windows: Version 10.2.0.4.0 - Production on 17-JUN-2010 14:45:01

Copyright (c) 1991, 2007, Oracle.  All rights reserved.

Die System-Parameterdatei ist D:\oracle\product\10.2.0\db_1\network\admin\listener.ora
Log-Meldungen wurden geschrieben in: D:\oracle\product\10.2.0\db_1\network\log\hsodbc_listener.log
Die Trace-Information wurde in D:\oracle\product\10.2.0\db_1\network\trace\hsodbc_listener.trc geschrieben
Die Trace-Ebene ist derzeitig 0

Gestartet mit Pid=4208
Listen auf: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=NOT4223)(PORT=1522)))
Listener completed notification to CRS on start

TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
17-JUN-2010 14:45:03 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=administrator))(COMMAND=status)(ARGUMENTS=64)(SERVICE=hsodbc_listener)(VERSION=169870336)) * status * 0
(7) created database link:
CREATE DATABASE LINK LNK_MSSQL CONNECT TO "user" IDENTIFIED BY "password" USING 'mycon'
Selected 8) of table-> error
select * from mytable@lnk_mssql

FEHLER in Zeile 1:
ORA-28545: Von Net8 bei der Verbindung zu einem Agenten diagnostizierter Fehler
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: vorherige 2 lines von LNK_MSSQL
(9) Errormessage in hsodby_listener.log
17-JUN-2010 14:46:41 * (CONNECT_DATA=(SID=mycon)(CID=(PROGRAM=)(HOST=NOT4223)(USER=administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.192)(PORT=4310)) * establish * mycon * 12518
TNS-12518: TNS: Listener konnte Client-Verbindung nicht weitergeben
 TNS-12560: TNS: Fehler bei Protokolladapter
  TNS-00530: Protokolladapter-Fehler
   64-bit Windows Error: 2: No such file or directory
I'm stuck, someone at - it an idea? (And I can not move to Oracle 11 for the most recent DG4odbc [except it might work for 10g so] ;)))

Thanks in advance!

[EDIT]

May be important:

I have not found the hsodbc.exe on my machine (I guess that's the message with the missing file / directory of the listener.log). The directory of HS is present in my ORACLE_HOME, then it is installed or not?

Concerning

Edited by: G.Monga the 17.06.2010 06:19

Hello
If you already have the license for your RDBMS on 64-bit Windows 10.2 so there is no additional licenses or changes to the license to install the 11.2 DG4ODBC on the same system.
You can go ahead and install it in an another ORACLE_HOME as described.

Kind regards
Mike

Tags: Database

Similar Questions

  • Urgent: db link from oracle 10g to sql server 2000

    Hello

    I have an oracle 10g db connection to sql server 2000. It was created a couple of years. This works.

    I have now created another link db of the same oracle on the same sql server server but it does not work.

    But I'm getting ORA-28500 and error IM002

    . Please notify.

    I can't understand what is wrong as I followed the hs odbc set up on this link db in the same way as I did 2 years ago.

    Thank you

    Shailaja

    Just sort the problem.

    Basically, I use HSODBC to connect to SQL Server from Oracle (on windows 2003 64-bit).

    To do this, I need to create a connection ODBC from Oracle to SQL Server.

    HSODBC is a 32-bit application and is why we use the ODBC 32-bit driver when we create the ODBC connection.

    When I created the connection ODBC from Oracle to SQL Server, I used the ODBC 64-bit driver and that's why the system could not find the name of the data source.

    I have now created connection ODBC from Oracle to SQL Server via the ODBC 32-bit driver and everything works fine now.

    No offense to anyone, but as you all works using Oracle software, I was hoping a better answer than some of the answers above. You can say that you did not understand the question or you do not know the reason why it happened.

    I have just listed how the problem was fixed so that in the future one having the same problem can benefit.

  • Oracle 11.1-> SQL Server Express

    Hello

    I have an Oracle RAC 11.1, 2 nodes running under Linux Red Hat.

    This database needs to connect to a SQL Server Express Edition 2012 to query a simple table with standard fields (varchar, number, date).

    For security reasons, we want that the Oracle database initiates the connection.

    Reading the documentation and various posts on this forum, I understand that I must install the database for (free) ODBC bridge or a bridge of database for MS SQL Server (need a license!).

    I would choose the free one, but I'm just a little surprised that I have to install a huge soft (~ 550 MB) just to query a table.

    • First of all, someone confirm that it is the only solution to interrogate a heterogeneous database to Oracle?
    • Second, what is the maintenance effort for the gateway database? Is there a backup instance, or something else?
    • Finally, if I have to use, can I install Database Gateway 11.2 (or 12?) and connect my 11.1 RAC with any problem?

    Sometimes I wonder if I had instead to make an interface with the .csv files...

    Thank you for your help.

    Kind regards

    Yann

    Yann,

    automatically when you install the Oracle database software you will get Dg4ODBC installed (on platforms where it is available). For you 11.1 installation DG4ODBC running on Linux, it is installed by default - you can check your Oracle_home is a HS/admin directory, you have the compiled executable dg4odbc (you'll find it in $ORACLE_HOME/bin directory) or whn using $ORACLE_HOME/OPatch/opatch lsinventory-detail.

    When you do not want to install anything on your production Oracle server, then you can either install the gateway on the MS SQL Server machine and use the MS SQL Server ODBC driver delivered with your SQL Server installation, or you can also install it on any computer, where you find a driver suitable for SQL Server ODBC.

    Thus, for example, that you can also use another Linux machine, install the driver ODBC for MS SQL Server on this machine, then on the bridge. Now, you can connect with your database of Oracle running on the Linux cluster to connect to the gateway on the other Linux machine. Then the gateway that will load the ODBC driver and connect to SQL Server.

    The only restriction is that you must have a driver ODBC for MS SQl Server on the computer where you install DG4ODBC.

    -Klaus

  • Loading data from Oracle to MS SQL SERVER

    Hello

    Source: Oracle
    Target: MS SQL
    ODI:11 g


    I want to create an interface that loads the data from the source table in Oracle in the target table in MS SQL Server. Can any body tell me what LKM, IKM and CKM I use for the same.

    Any help will be appreciated.

    I thank you,
    Shrinivas

    Hi gisele, you can follow below KMs

    1 LKM SQL for SQL

    2 CKM ORACLE

    3 IKM SQL Incremntal update (Insert and update) / IKM SQL command APpend (insert only)

    It will be useful.

    Thank you

  • Oracle on the SQL Server tables dblinked query error ORA-00904

    Hello

    I created a dblink to a SQL from Oracle database using generic connectivity.
    The following query returns the error ORA-00904 invalid identifier in the (tblEmp.Empno) WHERE clause

    SELECT 'EmpNo', "EmpName", "DeptName".
    OF tblEmp@sqlserver.
    tblDept@sqlserver
    WHERE tblDept.DeptNo = tblEmp.Empno

    I had to include the column names between double quotes because of the case review of the columns, but I can't do the
    same thing for the WHERE clause.

    (1) so how can I fix this error?
    (2) also how can I include the Deptno column with the table alias in the columns list?
    (Deptno is ambiguous in the Emp and Dept tables)

    Kind regards
    Sam

    Looks like you have case-sensitive column names, try this

    SELECT "EmpNo","EmpName", "DeptName"
    FROM tblEmp@sqlserver e,
    tblDept@sqlserver d
    WHERE d."DeptNo" = e."Empno" --<--- are you sure this is the correct join condition
    

    What should we not

    WHERE d."DeptNo" = e."DeptNo"
    

    Published by: Alex Nuijten on September 22, 2009 13:28

  • How to access Mobile Oracle using PL/SQL Server logs?

    I started using Oracle solutions, so I'm a complete newbie.

    I am doing a project which requires to newspapers to mobile devices using the Oracle Mobile Server (integrated into Oracle Database Lite).
    The mobile server has services that I could use or do I interpret log files?

    Thanks in advance for all support!

    Published by: Hugo Zenha on April 15, 2009 07:40

    Details of base for sync history is MOBILEASDMIN. C$ SYNC_HISTORY. This will give you the id of the customer (name), start and end times, success or failure (and error if failure) as well as the total volume of data uploaded and downloaded.

    You can get more details by joining with c$ sync_his_pub_items on session_id, and this gives details of each downloaded table (phase = UPLOAD) regarding the timings and records and the same for the download. Upload tends to be the complete set of tables (records = 0 for no activity), while the download is only active tables and includes a full refresh occurred

    You can get information for the MGP process via mgp_history c$ and c$ mgp_his_clients

    As all the repository data is stored in the database, there are a lot of possibly interesting things if you look through it.

    We use SQL and PL/SQL to make reports on different users with clocks in a loading time and identification of customers having problems

  • Dblink Oracle to sql server, multiple database on the same server sql under a dblink

    Hi, we managed to set up an Oracle dblink to sql server and retrieve data.

    The user of sql server have been using via dblink has access to multiple databases on the same sql server

    But the question is how in oracle (if possible) prepend you the SQL access to this?

    For example:

    Sqlserver_prod has the user sqlserver_user which seems to be set up as default database sqlserver_db1

    But we have select access to sqlserver_db2

    all work well as sqlserver_user

    Select * from table_fromdb1

    Select * from dbo.table_fromdb1

    Select * from sqlserver_db1.dbo.table_fromdb1

    as does

    Select * from sqlserver_db2.dbo.table_fromdb2

    more in Oracle

    Oracle_db a dblink sqlserver_prod. World connection sqlserver_user

    everything works fine

    Select * from 'table_fromdb1"@sqlserver_prod '.

    Select * from 'dbo '. "table_fromdb1"@sqlserver_prod

    But how to (if possible) access from oracle

    sqlserver_db2.dbo.table_fromdb2

    without having to create a new sqlserver_db2_user referenced in a new dblink

    If oracle for oracle would be

    Select * from remote_oracle_schema.table@remote_oracle_db

    Hello

    You cannot select a table in a different SQL * database server from that to which the gateway instance connects.
    As stated in the documentation-

    Oracle® database gateway

    Installation and Configuration Guide

    11g Release 2 (11.2) for AIX 5 L Based Systems (64-bit), HP - UX

    Itanium, Solaris (SPARC 64-Bit), Linux x 86 operating system,

    and Linux x 86-64

    In the section.

    The example SQL Server multiple databases: Configuration of the modem router

    A separate instance of the gateway that is required for each SQL Server database. Each

    instance needs its own Gateway system ID (SID).

    ==========

    You will need to create a new instance of the gateway for the SQL * Server DB2 as well as a link separate db.

    Kind regards

    Mike

  • Need help bridge database for MS SQL Server, error ORA-28546 configuration problems

    Dear all,

    I'm trying to configure Oracle to MS SQL Server(I don't have admin access to the MS SQL Server) database gateway.  When I try to test the dblink connection, I get the following error.

    I published select * from dual@xyz;

    ORA-28546: initialization of the connection failed, probable Net8 admin error

    ORA-28511: interruption of the RPC connection to heterogeneous remote agent using SID = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=localhost) (PORT = 1521)) (CONNECT_DATA = (SID = dg4msql)))

    ORA-02063: preceding 2 lines of xyz

    28546 0000 - ' failed to initialize connection, unlikely Net8 admin error.

    My setup is as follows.

    1 oracle 11 GR 2 under Oracle Linux 6, the same gateway version is installed on the same server but different base directory.

    2 oracle DB base directory is u01/app/oracle/product/11.2.0/dbhome_1, gateway home directory is/u01/gateway.

    3. I use the same file listener.ora for db and the entry door.

    4. the content of my listener.ora, tnsnames.ora and the initdg4msql.ora is below.

    /U01/app/Oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    #(ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1522))

    (ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST = db.abc.com.tw))

    )

    )

    MSSQL =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    )

    )

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = db.abc.com.tw)

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

    (SID_NAME = orcl)

    )

    )

    SID_LIST_mssql =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = dg4msql)

    (ENVS = LD_LIBRARY_PATH = / u01/gateway/dg4msql/pilot/lib: / u01/gateway/lib)

    (Program name = / u01/gateway/bin/dg4msql)

    )

    )

    /U01/app/Oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora

    LISTENER_ORCL =

    (ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST = db.abc.com.tw))

    ORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST = db.abc.com.tw))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = orcl.abc.com.tw)

    )

    )

    dg4msql =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = localhost)(PORT = 1521))

    (CONNECT_DATA = (SID = dg4msql))

    (HS = OK)

    )

    /U01/gateway/dg4msql/Admin/initdg4msql.ora

    HS_FDS_CONNECT_INFO=[192.168.0.1]:1433//XIETEST

    # replacement connect format is the name of host/serverinstance/databasename

    HS_FDS_TRACE_LEVEL = 255

    HS_FDS_RECOVERY_ACCOUNT = RECOVERY

    HS_FDS_RECOVERY_PWD = RECOVERY

    the dblink is created with the following statement.

    CREATE DATABASE LINK "xyz.abc.COM.TW".

    CONNECT TO ITS IDENTIFIED BY

    With the HELP of "dg4msql";

    Couple of other things I did to check the above works.

    [oracle@db admin] $ ping 192.168.0.1

    PING 192.168.0.1 (192.168.0.1) 56 (84) bytes of data.

    64 bytes from 192.168.0.1: icmp_seq = 1 ttl = 61 time = 7.61 ms

    64 bytes from 192.168.0.1: icmp_seq = 2 ttl = 61 time = 7,41 ms

    ^ C

    -ping 192.168.0.1 - statistics

    2 packets transmitted, 2 received, 0% packet loss, time 1818ms

    RTT min/avg/max/leg = 7.417/7.516/7.615/0.099 ms

    [oracle@db admin] $ tnsping dg4msql

    AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on 2013-SEPT-11 10:53:11

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

    Use settings files:

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

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SID = dg4msql)) (HS = OK))

    OK (0 msec)

    [oracle@db admin] $ lsnrctl status mssql

    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 2013-SEPT-11 10:54:23

    Copyright (c) 1991, 2009, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=localhost) (PORT = 1521)))

    STATUS of the LISTENER

    ------------------------

    Alias mssql

    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production

    11-SEP-2013 start date 10:09:46

    Uptime 0 days 0 h 44 min 37 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file

    The listener log file /U01/app/Oracle/diag/tnslsnr/DB/MSSQL/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=127.0.0.1) (PORT = 1521)))

    Summary of services...

    Service 'dg4msql' has 1 instance (s).

    Instance of 'dg4msql', status UNKNOWN, has 1 operation for this service...

    The command completed successfully

    Obviously, I'd like to get this configuration to work, but I have also a couple other questions about this configuration.

    1. for the installation of the bridge, he wants to run the root.sh script.  the script root.sh as to what follows.

    Enter the full path of the local bin directory: [/ usr/local/bin]:

    The 'dbhome' file already exists in the usr.  Overwrite it? (y/n)

    [n]: n

    The 'oraenv' file already exists in the usr.  Overwrite it? (y/n)

    [n]: n

    The 'coraenv' file already exists in the usr.  Overwrite it? (y/n)

    [n]: n

    the above answer is correct?

    Thanks for reading.

    The strace shows:

    2796 open ("/ u01/app/oracle/diag/tnslsnr/db/mssql/trace/mssql.log", O_WRONLY |) O_CREAT | O_APPEND, 0660) = 12

    9564 access ("/ u01/app/oracle/product/11.2.0/dbhome_1/dg4msql/admin/initdg4msql.ora", F_OK)

    2796 write (12, "2013-SEPT-11 15:02:44 * (CONNECT_"..., 175 ")")

    9564 <... access="" resumed="">) =-1 ENOENT (no such file or directory)

    2796 <... write="" resumed="">) = 175

    2796 close (12

    9564 brk (0x14a3000) = 0x14a3000

    2796 <... close="" resumed="">) = 0

    2796 poll ([{fd = 8, events = POLLIN |}]) POLLRDNORM}, {fd = 11, events = POLLIN |} [POLLRDNORM}, {fd-=-1}, {fd = - 1}]-1, 4

    9564 access ("/ u01/app/oracle/product/11.2.0/dbhome_1/dg4msql/log/dg4msql_agt_9564.trc", F_OK) =-1 ENOENT (no such file or directory)

    9564 access ("/ u01/app/oracle/product/11.2.0/dbhome_1/dg4msql/log/dg4msql_agt_9564.trc", F_OK) =-1 ENOENT (no such file or directory)

    9564 statfs ("/ u01/app/oracle/product/11.2.0/dbhome_1/dg4msql/log/", 0x7fff91f005b8) =-1 ENOENT (no such file or directory)

    9564 open ("/ u01/app/oracle/product/11.2.0/dbhome_1/dg4msql/log/dg4msql_agt_9564.trc", O_WRONLY |) O_CREAT | O_TRUNC, 0666) =-1 ENOENT (no such file or directory)

    => so that it always uses the database as Oracle_home House

    With this info, I rechecked the listener and saw that you are missing the ORACLE_HOME setting in the dg4msql section of SID. Please correct your entry to mssql_sid to:

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = db.abc.com.tw)

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

    (SID_NAME = orcl)

    )

    )

    SID_LIST_mssql =

    (SID_LIST =

    (SID_DESC =

      (ORACLE_HOME = / u01/bridge)

    (SID_NAME = dg4msql)

    (ENVS = LD_LIBRARY_PATH = / u01/gateway/dg4msql/pilot/lib: / u01/gateway/lib)

    (Program name = / u01/gateway/bin/dg4msql)

    )

    )

    Then please stop and restart the mssql listener and check again.

    -Klaus

  • SQL server from Oracle 11 g connection

    Hello
    I know there are a lot of threads available for this post, but please help me
    * step by step in the process by linking the 2 servers.
    I tried everything on internet, but received the error connection closed after DNS name tnsping. Should I run any sort of thing instance in SQL server?
    I don't have any access on SQL server. All what I have to do this must be only to the Oracle server. I obtained all this information and created ODBC (using the SQL server driver) and successfully tested the connection to the Oracle server. Altered INIT *. ORA, TNSNAMES. ORA and LISTENER. ORA but when ping TNS terribly getting the afore said error.

    My environment: Server Oracle 11 g - SQL server 2008 (both in the windows platform).

    My
    TNS names entry


    GSIS =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.1.1.1)(PORT = 63455))
    (CONNECT_DATA = (SID = GSIS)
    (SERVER = DEDICATED)
    (HS = OK)
    )
    )


    Entrance to the listener


    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1522))
    (ADDRESS = (PROTOCOL = TCP) (HOST = COB417147.cob.apac.bosch.com)(PORT = 1522))
    )
    )

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1)
    (= Extproc PROGRAM)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
    (SID_DESC =
    (SID_NAME = GSIS)
    (ORACLE_HOME = C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1)
    (PROGRAM = hsodbc)
    )
    )


    and

    initGSIS


    entry


    # This is an example of initialization file of the agent that contains the HS settings
    # necessary for the database to ODBC gateway

    #
    # HS init parameters
    #
    HS_FDS_CONNECT_INFO = GSIS
    HS_FDS_TRACE_LEVEL = OFF


    #
    # Required for the non-Oracle system environment variables
    #
    #set


    **************************************************
    When I get tnsping

    AMT closed connection.

    I'm stuck here terribly.

    Please guide...

    Sam,
    The link between DG4ODBC and SQL * Server is managed by the information and the driver specified in the system DSN defined as parameter HS_FDS_CONNECT_INFO.
    When you create the database link, you should double quotes around the user and the password under SQL * Server is case-sensitive. If quotes are not used, they are translated to uppercase, so try-

    create database GSIS_PQSR link
    connect to 'User_name' identified by 'PASSWORD' using 'GSIS ';

    in the correct case as defined on SQL * Server.

    For the ora-2019 check that-

    -initGSIS.ora is located in the C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\hs\admin directory
    -that the tnsnames.ora entry is located in the directory $ORACLE_HOME\network\admin for the RDBMS not the C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\network\admin of the entry door.

    Kind regards
    Mike

  • DB link from oracle to sql server

    Hi all

    Which is the easiest way to connect to sql server from oracle database? Require a separate permit? It's 11.1.0.7 on RHEL 5.7, 64 bit.

    Kind regards

    Vinod

    Hello

    There is a simple example using the 'free' method described here Ed

    http://dbaharrison.blogspot.co.UK/2014/12/Oracle-talking-to-SQL-Server-over.html

    See you soon,.

    Rich

  • connect ms sql server to oracle using db link


    Hello

    Source: Oracle 11g on linux

    destination: ms sql server 2005

    I need to create the link oracle to ms sql server db to display tables, it is posibble without having to configure gateways (as it looks like it is produced under license)

    Please let me know any alternative to achieve this

    Thank you

    PMP

    There are 2 bridge - commercial database gateway for Ms SQl Server, which requires a license and database for ODBC gateway which is free. The license for DG4ODBC is included in your license data. You just need to install an ODBC driver on your Linux machine (for example, to use the MS SQl Server for Linux ODBC driver - details can be found here: http://www.microsoft.com/en-gb/download/details.aspx?id=36437 ). and then configure the gateway using the My Oracle Support Note:

    How to set up DG4ODBC on 64-bit Unix OS (Linux, Solaris, AIX, HP - UX Itanium) to connect to Oracle databases Post Install [Article ID 561033.1]

    -Klaus

  • Oracle and SQL server database

    Hello

    Is there another way to directly see the data stored in the oracle database or I can see it only through an external tool such as SQL Server?

    Thank you

    J

    997282 wrote:
    Hello

    Is there another way to directly see the data stored in the oracle database or I can see it only through an external tool such as SQL Server?

    Thank you

    J

    What do you mean by "an external tool such as SQL Sever"?
    SQL Server is Microsoft's RDBMS product.

    Oracle data files are in a binary format that is known only to Oracle. (Like SQL Server data files are in a binary format known only to Microsoft). Unless you're talking about a binary dump, they can be "seen" by the published interface that is used by all clients. In the case of Oracle, these customers would include sqlplus and a multitude of third-party products, as well as programming languages that can make calls to the oracle SQL Developer interface. And in all cases, he will eventually return to pass SQL statements.

    What is your goal?

  • Data migration from Oracle to SQL Server

    Hello

    I have the Oracle database in one or several table, I also blob data, i.e. images are stored, now I want to move that data to the sql server database, which is the best way to do this?

    I would like to test for a migration of the table that contains the image data in the Oracle database and invade the SQL Server table.

    How to test for an Oracle table data to SQL Server migration?

    But the first thing I want to confirm is that if the Image from Oracle DB to SQL Server DB data are possible? is there something must be supported during the migration?

    Thanks in advance.

    Kind regards

    Vishal

    Published by: 968331 on October 31, 2012 02:31

    I think that it is supported. The equivalent data type in sql server is IMAGE/varbinary (max)

    See the bottom of the article for the mapping of data types:

    http://weblogs.sqlteam.com/jamesw/archive/2010/07/28/datatypes-translation-between-Oracle-and-SQL-Server-part-1.aspx

  • Convert a SQL Server to Oracle?

    How to do this query in Oracle?
    In SQL Server, it looks like this.
    select
    (
    SELECT top 1 t1.mpm
    FROM TblMtk T1
    where t1.wc = '34819'
    and t1.ValidFrom <= '2012-09-12'
    order by t1.ValidFrom desc
    ) R1
    ,
    (
    SELECT top 1 t2.mpm
    FROM TblMtk T2
    where t2.wc = '34819'
    order by t2.ValidFrom desc) R2

    What is your version of db. I think that you can do with KEEP (DENSE_RANK...) Max() I don't have your data. Here is the untested SQL.

    select max(mpm) keep(dense_rank first order by case when validfrom  <= '2012-09-12' then validfrom else null end desc nulls last) r1,
           max(mpm) keep(dense_rank first order by validfrom desc) r2
      from tblmtk
     where wc = '34819'
    
  • Migration from SQL Server to Oracle database

    I have 2 questions:

    1. we intend to convert our sql server databases oracle OLTP databases. I tried to use SQL Developer to migrate a database of small sql server to oracle (size 5 GB) database. It was fine. When I tried to migrate to a different database (size 90G), it takes too much time. The problem with sql developer is I can not pick and choose tables. 250 paintings, I need to migrate tables abt 80 (the size will be abt 50 G). What is everyone can share their experiences, as appropriate, converting databases of size average sql server for oracle databases? other options?

    2. I intend to convert the sql server ddl to oracle ddl. I have tested bcp out and use sql loader to import the data. Right now I am manually creating the oracle tables sql server tables. I use http://download.oracle.com/docs/cd/E11882_01/gateways.112/e12069/apa.htm#BABCIIDI to convert the code. Are there other ways better to convert sql DDL DDL Oracle Server?

    Thanks in advance

    DDLS must be converted manually. Oracle is not SQL-Server.

    If for example, you have the option of partitioning, you should consider using the partitioning index and when it is possible. Not all tables must be hash tables. Do postpone you creation of segment or not? What type of tablespace? Set yourself free percentages and allows you to manage when the data block is on the free list and how much is reserved in the block of data to update rows in this block?

    There are many considerations to be taken with regard to the physical database design.

    Using BCP and SQL * Loader sound good. SQL * Loader is fast and scalable - use it to load up to 3.6 million lines every 60 seconds. Direct and parallel charges will give the best performance in this regard (assuming that the underlying table structure and use supports this approach).

Maybe you are looking for

  • HP Pavilion 15 notebook pc: BlueTooth driver for Windows 10

    I have upgraded to windows 10 a year ago, after the upgrade, I lost my bluetooth. I installed several drivers on the hp store Bluetooth but I can't yet find all driver bluetooth on my device manager.

  • Keyboard HP ProBook 4740 S moving area

    Can you please tell me your opinion: is this normal or a problem? My thought is that the heat something was wrong in this area. Thank you! https://www.dropbox.com/s/z4m1pgztrxm7eqz/2013-04-22%2008.38.22.MP4 https://www.dropbox.com/s/0f7j0lb19lpqlbr/2

  • Size of the concatenated string variable?

    Hi all I have the following question: In Labview, there is a function called concatenate strings. When I want to 'Add' three strings I can pull the string to concatenate to the size three for three entries. Is there a possibility to implement a digit

  • multi parcels

    Hello I'm programming a PID temperature controller and must draw two curves on the same graph. The first is the desired temperature - a straight line - and the other is the fluctuating temperature depending on the time. Missing VI configures the seri

  • Acer aspire laptop won't charge

    Haven't tried another adapter, but no charging light and battery flat. Checked voltage on adapters, said 19 V,