Display SQL Server Oracle data error

Dear friends,

I use Oracle10g XE.

I made a link to view or insert data into Oracle's SQL Server database.

I did all the things with the help of the link below.

http://www.databasejournal.com/features/Oracle/article.php/3442661/making-a-connection-from-Oracle-to-SQL-Server.htm

Everything worked well. but when I run query below

Select "EmployeeNo" in hrtattendance@mysqlserverdsn

It gives an error that is mentioned below

ERROR on line 1:

ORA-28545: error diagnosed by Net8 when connecting to an agent

Impossible to reteieve text of MESSAGE NETWORK/NCR 65535

ORA-02063: preceding 2 lines of MYSQLSERVERDSN

Help, please. I will be grateful.

Kind regards

Hi Klaus,

Now it works after

run

lsnrctl start listenermysqlserverdsn again.

This means that it is not auto-start. Anywayz it's done. Thanks a lot for your time, help and support.

I am very grateful to you.

Thank you and best regards,

Tags: Database

Similar Questions

  • Problem with migration SQL Server Oracle 11.2 2012 DB using SQL Developer Migration workbench

    Hello

    I have a problem when migrating SQL Server Oracle 11.2 2012 using SQL Developer Migration workbench, hope that someone had the same problem before and can give same advide...

    I use SQL Developer Version 4.0.1.14 and Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0. and last jtds - 1.3.

    I created the schema migration_repo, privileges, connected to the third part of Db (SQL Server) and begin a trial with assistant. In the first step of the model to Capture, I get the message from the:

    "Company Capture Capture failed.  Refer to the table MIGRLOG in the repository for more details ".

    But MIGRLOG is empty.

    Here is my log:

    <? XML version = "1.0" encoding = "windows-1252" standalone = 'no '? >

    < Log >

    account <>

    < date > 2014-03-16T 20: 49:17 < / date >

    oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle < recorder > < / recorder >

    < level > SEVERE < / level >

    oracle.dbtools.migration.workbench.core.logging.MigrationLogUtil < class > < / class >

    < message > Capture

    Capture Enterprise

    Capture failure.  Refer to the MIGRLOG table in the repository for more details < / message >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doOnlineEnterpriseCapture(FullMigrateTask.java:758) < param > < / param >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doCapture(FullMigrateTask.java:601) < param > < / param >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doMaskBasedActions(FullMigrateTask.java:400) < param > < / param >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doWork(FullMigrateTask.java:314) < param > < / param >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doWork(FullMigrateTask.java:147) < param > < / param >

    oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193) < param > < / param >

    java.util.concurrent.FutureTask.run(FutureTask.java:262) < param > < / param >

    oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$ (RaptorTaskManager.java:554) < param > RaptorFutureTask.run < / param >

    java.util.concurrent.Executors$ (Executors.java:471) < param > RunnableAdapter.call < / param >

    java.util.concurrent.FutureTask.run(FutureTask.java:262) < param > < / param >

    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) < param > < / param >

    java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:615) < param > < / param >

    java.lang.Thread.run(Thread.java:744) < param > < / param >

    oracle.dbtools.migration.workbench.core.logging.LogInfo@68e69a < param > < / param >

    < exception >

    < message > oracle.dbtools.migration.workbench.core.ui.FullMigrateTask$ FullMigrateTaskException: Capture

    Capture Enterprise

    Capture failure.  Refer to the MIGRLOG table in the repository for more details < / message >

    < frame >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    < line > 758 < / line >

    < / framework >

    < frame >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    < line > 601 < / line >

    < / framework >

    < frame >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    line 400 > of < < / line >

    < / framework >

    < frame >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    < line > 314 < / line >

    < / framework >

    < frame >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    < line > 147 < / line >

    < / framework >

    < frame >

    oracle.dbtools.raptor.backgroundTask.RaptorTask < class > < / class >

    < line > 193 < / line >

    < / framework >

    < frame >

    java.util.concurrent.FutureTask < class > < / class >

    < line > 262 < / line >

    < / framework >

    < frame >

    oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$ RaptorFutureTask < class > < / class >

    < line > 554 < / line >

    < / framework >

    < frame >

    java.util.concurrent.Executors$ RunnableAdapter < class > < / class >

    < line > 471 < / line >

    < / framework >

    < frame >

    java.util.concurrent.FutureTask < class > < / class >

    < line > 262 < / line >

    < / framework >

    < frame >

    java.util.concurrent.ThreadPoolExecutor < class > < / class >

    < line > 1145 < / line >

    < / framework >

    < frame >

    java.util.concurrent.ThreadPoolExecutor$ Worker < class > < / class >

    < line > 615 < / line >

    < / framework >

    < frame >

    java.lang.Thread < class > < / class >

    < line > 744 < / line >

    < / framework >

    < / exception >

    < / recording >

    account <>

    < date > 2014-03-16T 20: 49:17 < / date >

    oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle < recorder > < / recorder >

    WARNING < level > < / level >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    <>error message: ORA-06550: line 1, column 14:

    PLS-00201: identifier ' SS2K5ALLPLATFORM. STAGECAPTURE' must be declared

    ORA-06550: line 1, column 7:

    PL/SQL: Statement ignored

    : FAILED: Database Migration: FAILURE < / message >

    oracle.dbtools.migration.workbench.core.logging.LogInfo@1e2c9b99 < param > < / param >

    < / recording >

    I try with model db (DB empty, just a single table), but the error is same. However, if I try to copy the acronym tabele from SQL Server to Oracle it works fine...

    I guess it's something with the configuration, but beacause I am new in Oracle still have no idea...

    Any help would be much appreciated

    I thank in advance

    Stefan

    Hello Stefan,

    did you create the repository Migration of your database to Oracle (Tools-> Migration-> repository management)?

    The SS2K5ALLPLATFORM package is usually created when you add the migration of the Oracle database repository and it contains the function StageCapture.

    So please make sure that you have created a repository of migration in an Oracle database and associate it with the first step of your migration.

    -Klaus

  • ODI - SQL Server - SCD TYPE2 ERROR

    Hi all

    I'm running an Interface with a simple map and it's IFL. I get the following error in Step13 - Create indexes on the flow Table. Incorrect syntax near), and the code is displayed as below.

    create index IX_DIM_TYPE on Datamart.dbo.I$ _DIM_TYPE)

    The I$ Table has all the values NULL and an I for IND_UPDATE.

    Help, please. Thanks for your time.

    Hi again,

    This will be similar to the last question, we worked through (Re: ODI - SQL Server - changing slowly dim Module knowledge if behavior SCD types are not defined for the data store, the IKM will not be able to find them.) In this case, the code for this step is looking for the natural key of the CPC. This will have to be defined in the columns of the data store.

    You can watch the steps of the IKM by opening the Knowledge Module by clicking on each command in the Details tab. On the Substitution API reference guide will help you understand what the code is attempting to come back. http://docs.Oracle.com/CD/E14571_01/integrate.1111/e12645/odiref_reference.htm

    Kind regards
    Michael Rainey

  • Linux for SQL Server: ORA-28545: error diagnosed by Net8

    Hi guys,.

    I am getting confused with the steps to follow for this because the Oracle documentation is less than the normal ("HS_FDS_CONNECT_INFO = dns" is not enough for example) and different Articles/forum messages saying different things.

    I am trying to connect to Oracle 11.2.0.3 on Linux (64) to a SQL Server 2008 R2 on x 64 with a database named DBA_Housekeeping. Does anyone have a clear guide to the steps (and where)? Can you see what I'm doing wrong here?

    Oracle hostname: gblabl76

    SQL Server hostname: UKAHES066

    I did all the steps are on the Oracle server. I didn't something on the SQL Server (am I supposed to install a client/drivers there?):

    1 created initDBA_Housekeeping.ora in $ORACLE_HOME/hs/admin /.

    HS_FDS_CONNECT_INFO = "UKAHES066\\UKAHES066.DBA_Housekeeping"
    HS_FDS_TRACE_LEVEL = OFF
    #HS_FDS_SHAREABLE_NAME =
    
    

    2 added something to the listener.ora on the oracle server & then start the listener (of the said State UNKNOWN):

    MSSQL = (DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = gblabl76)(PORT = 1523)))
    SID_LIST_MSSQL =
      (SID_LIST =
       (SID_DESC =
          (SID_NAME = DBA_Housekeeping)
          (ORACLE_HOME = /oracle/product/11.2.0.3/db_1)
          (PROGRAM = dg4odbc)
        )
      )
    
    

    3. Add a tnsnames file entry:

    DBA_Housekeeping =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (CONNECT_DATA = (SID = DBA_Housekeeping))
            (HS=OK)
        )
      )
    
    

    4 creates a connection to the SQL Server default for this database instance. Then, I created a link of database in Oracle:

    CREATE PUBLIC DATABASE LINK DBA_Housekeeping CONNECT TO "hkadm" IDENTIFIED BY "hkadm" USING 'DBA_Housekeeping';
    
    

    But when I try to query the database through a db connection I get the error listed. Anyone see where I am going wrong?

    Do I need to install the drivers on Windows Server (and requires a reboot?)?

    I have to create this DNS thing or matches the string in the hs .ora enough?

    Thanks for the tips: s I hope to connect to our SQL instances server so they can be monitored by their SUMMIT.

    Mike

    Those who seek to connect to Oracle & SQL Server I want to give you the best solution to your problem.

    Use a server linked server SQL for Oracle (push rather than pull).

    If you do just a server then you could do directly. However, if you plan to use several servers, then you must create a SQL Server repository (it could be the free Express version) that will store the data of all your SQL Server databases and then passes Oracle.

    The reason why I did this original post is because I want to store data in our Oracle APEX SQL Server monitoring system. I lost a day trying to trawl through the net for specific instructions for setting up (before Klaus answered me here). It took me less than an hour to select from & insert into an Oracle database in the opposite direction.

    1 install the Oracle client on the instance of SQL Server

    2. If suppliers (under related servers) does not list Oracle then reboot the server (ideally your new repository SQL Server); If she's already then skip this step.

    3. Add an entry for your new DB Oracle TNSNames file

    4 create a server associated with the oracle credentials

    That's all that is needed for a working solution. Yesterday I had nothing, today, I have a link will:

    Many MSSQL isntances-> repository MSSQL-> repository Oracle APEX

    Mike

  • Question to sql server oracle DBlink

    Hello

    I followed steps below

    1 connection configured and tested ODBC connection is successful and ODBC calls SQLT.

    2. I added under entry in the C:\app\product\11.2.0\dbhome_1\hs\admin\initdg4odbc.ora file

    HS_FDS_CONNECT_INFO = SQLT

    HS_FDS_TRACE_LEVEL = OFF

    3. turn under entry in the tnsnames.ora file

    SQLSERVER =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = tcp (PORT = 1551))(HOST=mylocalhostname))

    (CONNECT_DATA = (SID = dg4odbc))

    (HS = OK)

    )

    * I also tried SID = SQLT in tnsnames file

    4. added under entry in the listner

    SID_LIST_SQLSERVER =

    (SID_LIST =

    (SID_DESC =

    (ORACLE_HOME = C:\app\product\11.2.0\dbhome_1)

    (SID_NAME = dg4odbc)

    (PROGRAM = dg4odbc)

    )

    )

    ADR_BASE_SQLSERVER = directory

    SQLSERVER =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP (PORT = 1551))(HOST = mylocalhostname))

    )

    * I also tried SID_NAME = SQLT file listner

    5 lsnrctl reload

    6 created db link

    CREATE SQLSERVER1 LINK DATABASE to CONNECT to 'MyUser' IDENTIFIED BY 'Mypassword' USING 'SQLSERVER ';

    but still I am getting below error.

    ERROR on line 1:

    ORA-28545: error diagnosed by Net8 when connecting to an agent

    Cannot retrieve the text of the message NETWORK/NCR 65535

    ORA-02063: preceding 2 lines of *.

    I also followed link below

    https://Oracle-base.com/articles/Misc/heterogeneous-services-generic-connectivity

    even that also does not work. kindly help me

    Hello, it seems that listener or HS is not allowed.

    Check the status of the listener, then try with HS_FDS_CONNECT_INFO =:/ / in initdg4odbc.ora

    Do

    c: > lsnrctl stop SQL SERVER

    c: > lsnrctl start SQLSERVER

    run

    c: > lsnrctl status SQLSERVER

    and after release.

    This OPINION score could be useful 234517.1.

    Concerning

  • equivalent of CLRSplitSting function for sql server Oracle

    Hello friends,

    I have a query in SQL Server - which becomes data.

    Select addl_info_id, sort_seq, code, row_data, addl_info_group_id, group_sort_seq, group_row_data from dbo. CLRSplitString('2406081,2410381,2427008,2430449,2466981,2495083,1586420,2406081,2410381,2427008,2430449,2466981,2495083,1586420','',',') x v join ein_addl_info_v on x.col1 = v.addl_info_id order by sort_seq
    We have same data in oracle too, so I converted the query above to sql to ORACLE like this server...


    Select addl_info_id, sort_seq, code, row_data, addl_info_group_id, group_sort_seq, group_row_data from (with t as)
    Select '2406081,2410381,2427008,2430449,2466981,2495083,1586420,2406081,2410381,2427008,2430449,2466981,2495083,1586420', ",","double str
    Select regexp_substr(str,'[^,]+',1,level) sub_str *) t connect by level < = regexp_count (str, ',') + 1) x *.

    Join cnh_cs_targ_csce_eur_1.ein_addl_info_v v x.sub_str = v.addl_info_id order of sort_seq


    but I don't get all the data. Can someone check if the query oracle above is equivalent to the above SQL query.

    Thank you/Kumar

    Published by: kumar73 on February 15, 2013 08:47

    So your query:

    select  addl_info_id,
            sort_seq,
            code,
            row_data,
            addl_info_group_id,
            group_sort_seq,
            group_row_data
      from      xmltable(
                         'ora:tokenize($str,",")'
                         passing ',2406081,2410381,2427008,2430449,2466981,2495083,1586420,2406081,2410381,2427008,2430449,2466981,2495083,1586420' as "str"
                         columns col1 varchar2(2000) path '.'
                        ) x
            join
                ein_addl_info_v v
              on x.col1 = v.addl_info_id
      order by sort_seq
    /
    

    SY.

  • SQL server 2000 data source

    I have CF running on Server 2003 R2 standard 7.0 and sql server 2000.
    I configure sql server to use windows authentication and created a SQLService system for her user name to use.
    Everything is on the same machine, and I just want to make a data source...
    I've tried about 30 different combinations of things and get in every time the same error...:

    Connection verification failed for data source: dragon1
    java.sql.SQLException: [Macromedia] [SQLServer JDBC Driver] error socket creation. Connection refused: connect
    The root cause was that: java.sql.SQLException: error [Macromedia] [SQLServer JDBC Driver] socket creation. Connection refused: connect

    I put 127.0.0.1 for the server, port 1433
    I tried to put in the SQLService username and password, as well as my administrator username and password, and got the same previous error on both. I tried to use localhost and (local) for the server, without success.

    Can someone tell me what im doing wrong?
    This is a default error message that always appears, or you would get a different error message if it was just the wrong username and password?

    Any information would be helpful!

    Thank you!
    Mike

    I finally found a post that I needed...

    http://www.Adobe.com/cfusion/webforums/Forum/MessageView.cfm?CATID=6&ThreadId=934725&highl ight_key = y & keyword1 = connection % 20refused

    He seemed overwhelmed at first, but seems to work in my situation as well.

    A side note to mention is that in your windows odbc window, you must switch to the system, instead of the user a dns dsn tab.

  • Update SQL Server Oracle Table

    Hello

    I have a doubt, Im working with a database in oracle 10g and found a trouble trying to update a SQL Server database with a BPM system that retrieve data from the Oracle database... my question is...

    How can I update the SQL database every 8 hours with the new information inserted into the Oracle database... I tried using OpenQuery but shows the AMT ORA-12514: listener

    I'll apreciate any help

    ORA-12514 is one of the most common misconfiguration problems reported on the web. Go to google and you will find 33 800 hits. Thousands of containing the solution to your problem.

    Troubleshooting and the solution is also written on a large number of times on metalink.

    But I have to say to transfer data from Oracle to SQL Server makes no sense. You already have a copy of data in a location secured with the data integrity guaranteed. Instead of move... buy a report generator and work with it in place.

  • create the SQL server programmatially data source

    Hello

    I would like to create a SQL server by programming in LabVIEW data source. The SQL server version that I used is from 2005. Can someone give some ideas? An example of code will be more favorable.

    Thank you

    Jane

    You can build the connection string you even.  The open function in the Toolbox of data base accepts a string as well (it's polymorphic) who can be the connection string.  This is the site I use to understand.  Is the most common things.  You may need to search Google more specific elements.

    http://www.ConnectionStrings.com/

    If you want to use the other option, someone has achieved a UDL editor in LabVIEW.  You can use this code to create your own UDL which can use the Open DB function:

    https://decibel.NI.com/content/docs/doc-18613

    I have used the above code, so can't comment on that.

  • SQL SERVER 2016 Setup error

    Setup of Microsoft SQL Server 2016

    The following error occurred:

    Could not open the file Windows Installer "D:\en_sql_server_2016_enterprise_x64_dvd_8701793\redist\VisualStudioShell\VC10SP1\x64\vc_red.msi".

    Windows Installer error message: 1: 2203 2: D:\en_sql_server_2016_enterprise_x64_dvd_8701793\redist\VisualStudioShell\VC10SP1\x64\vc_red.msi 3:-2147286960.

    Click 'Retry' to retry the action failed, or click 'Cancel' to cancel this action and continue with the installation.

    Hello

    Your question is beyond the scope of this community.

    Please repost your question in the SQL Server TechNet Forums.

    https://social.technet.Microsoft.com/forums/SQLServer/en-us/home?category=SQLServer

    See you soon.

  • SQL Server 2008 R2 error fix 18056

    How can solve us the issue mentioned below in SQL Server 2008 R2.

    The client failed to reuse a session with SPID XX, which was returned to the connection pool. This error may be due to earlier malfunction. Check the error for the failed operations logs just prior to this error message.

    Kind regards

    Rashid

    Thanks for visiting the site of the community of Microsoft Windows. The question you have posted is related to SQL Server 2008 and would be better suited to the MSDN Community. Please visit the link below to find a community that will provide the support you want.
    http://social.msdn.Microsoft.com/forums/en/category/SQLServer
  • SQL Server 2008 installation, error in PerfMonCounterNotCorruptedCheck

    When I install SQL Server 2008 Expression I get the following error;

    The performance counter registry hive is corrupted. To continue, you must repair the performance counter registry hive. For more information, see http://support.microsoft.com/kb/300956.

    I have not been able to correct this page and the link doesn't refer to Vista. Comment & solution?

    Hi Jon Thor Johannsson,

    For a more specialized on issue of SQL Server help, post your request here

    SQL Server forums
    http://social.technet.Microsoft.com/forums/en/SQLExpress/threads

  • SQL SERVER 2012 SETUP ERROR

    I have an exe separated for installation of SQL SERVER 2012.

    During the Installation of SQLManagementStudio_x64_ENU.exe , an error occurs. Please see below.

    What could be the possible solution or work around it?

    I really need to install it, I have loads of work to do. Please :( Thanks in advance for helping me.

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.technet.Microsoft.com/forums/en-us/home

    http://social.msdn.Microsoft.com/forums/en-us/home

  • SQL Server Oracle Migration: semantics of the column

    I'm testing a migration to SQL Server 2012 to Oracle 12 c using SQL Developer 4.0.0.13 migration Assistant. The problem that I am facing is that all the generated table creation scripts have CHARACTER semantics for character columns. I wish that the semantic bytes. As the generated tables and columns are several thousand it is not possible to manually change the semantics.

    CREATE TABLE account_dod)

    account_ID VARCHAR2 (16 CHAR) NOT NULL,

    I can't find any possibility to change the semantics when generating. Anyone know of any option that I can set so that the migration wizard will generate all of the columns in the form of BYTES?

    Thank you very much

    Hello

    If you email me, I can provide an extension changed to use unity BYTE CHAR and VARCHAR2 columns.

    My email address is my [email protected]

    Kind regards

    Dermot ONeill

    SQL development team

  • MIGRAR a UN SQL Server Vcenter data base

    Hola comunidad

    Me ha surgido UN problemilla formed of duda. In una instalacion than en mi propio entorno of the tests I made, when configured vcenter v4.0, en instalacion elegi me creara an instance MSDE_VC. Me gustaria llevarme the config Québec esta toda in the base datos del vcenter has a SQL Server as tengo montado. MI viene problemilla has the Québec migrarla hora no puedo o mejor said me da 'miedo' hacerlo.

    Aunque lo tenga in an environment of the tests no quiero perder toda the config. Sabeis los pasos than hay as seguir para poder hacerlo sin problemas?

    MUCHAS gracias!

    Santiti,

    Como ago you comentaron, el proceso are fairly simple:

    • Tomas ONU respaldo of you BBDD
    • Restauras dicha database in el servidor that requieres
    • Bajas the vCenter Server service
    • Los Modificas DSN ODBC para as apunten al nuevo database server.
    • Subes el servicio vCenter Server y realizas products the tests.
    • Tienes revisar los SQL work in the case of Quebec the basis data the cargues en UN SQL Server.  KB1004382
    • The vuelta caught're simplemente apuntar el al DSN ODBC again MSDC.

    Saludos

    Patricio

Maybe you are looking for

  • Accounts hijacked, Apple blows me off the coast. What can I do now?

    My iCloud account was taken over by a 'knowledge' my husband. HIS name is on This account - my name is shown not at all. She has also "hijacked" my Apple ID.  ITS name is displayed on my Page of 'Apple ID' as the owner of my Apple ID, as well as ITS

  • Text formatting will not work on 7.23

    Hello. It has been recently updated (about two weeks ago) that completely broke text formatting for me. None of the options work for me. They would look like this under my messages: * bold *. _italics_ ~ bar ~ {code} and I don't even know what to cal

  • I can't seem to ever send a video message

    I get the red exclamation point / Oops, something went wrong. / Please try again or contact us if you need assistance. Message. of course, it is impossible to get help so nobody knows what they mean by help and why my video works fine, but I am not a

  • can I set up a windows Server 2003 as a 2008 domain controller?

    Looking to see if there is a patch or something that would allow my servers 2003 to guest roles in a 2008 field.

  • G555 - WiFi suddenly doesn't work

    Hello world! Well. I have a laptop G555 (WIFI Broadcom adapter). Yesterday I was browsing the web and then wifi is out. I do not know Hello world! I have a [B] Lenovo G555 [/ b] laptop with an integrated adapter [B] WIFI Broadcom [/ b] Yesterday I us