SQL Server Transactional replication, Oracle as Subcriber.

Hi,
I am Raja, I am new to SQL Server Replication(Non-SQL Subscriber). I have to configure SQL Server transactional replication from SQL Server database(Publisher) tables to Oracle(Subscriber) database in my development environment. I tried many times but I
couldn't. Could you please any one send reference link or screen shots? I tried in google and youtube but I didn't get proper screen shots or video.
Thanks,
Raja

Hi Raja,
According to your description, when you want to configure an Oracle subscriber, you need to install and configure Oracle client networking software
and the Oracle OLE DB provider on the SQL Server distributor. In addition, you also need to create a TNS name for the subscriber and a snapshot or transactional publication for non-SQL Server Subscribers.
For more information, you can review the following articles about Oracle subscribers.
http://technet.microsoft.com/en-us/library/ms151738.aspx
http://technet.microsoft.com/en-us/library/ms151195.aspx
Thanks,
Sofiya Li
Sofiya Li
TechNet Community Support

Similar Messages

  • In SQL Server Transactional replication what all changes I can do on subscriber table

    In SQL Server Transactional replication what changes I can do on subscriber table
    Thanks

    Hi Ajay.G,
    According to your description, if you want to do some updates at the Subscriber, you need to note the following things.
    •If TIMESTAMP or IDENTITY columns are used, and they are replicated as their base data types, values in these columns should not be updated at the Subscriber.
    •Subscribers cannot update or insert text, ntext or image values . Instead, you could partition the text and image columns into a separate table and modify the two tables within a transaction.To update large objects at a Subscriber, use the
    data types varchar(max), nvarchar(max), varbinary(max) instead of text, ntext, and image data types, respectively.
    •Updates to unique keys (including primary keys) that generate duplicates and then they are not allowed and will be rejected because of a uniqueness violation.
    •If the Subscriber database is partitioned horizontally and there are rows in the partition that exist at the Subscriber but not at the Publisher, the Subscriber cannot update the pre-existing rows.
    For more information, see: Updatable Subscriptions for Transactional Replication
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • SQL Server Transacational Replication Issue while adding a new article

    I have a "PULL" transaction replication toplogy (SQL server 2008 R2 - publisher,subscriber & distributor) in place and is working fie. I added a new article (table) using sp_addarticle and it works fine. Then I tried to add subscription
    to the new article using sp_adddsubscrition SPROC from the publisher (details below)
    EXEC sp_addsubscription @publication = @pub_name, @article = @article_name, @subscriber = @sub_server, @destination_db   
    = @sub_dbname, @subscription_type = N'pull',@update_mode = N'read only', @sync_type = 'sutomatic', @status = 'active', 
    @reserved ='Internal'
    I tried with all combination of values in the @sync_type parametr,
    The above command fails with the following message:
    Msg 14100, Level 16, State 1, Procedure sp_MSrepl_addsubscription, Line 533;
    Specify all articles when subscribing to a publication using concurrent snapshot processing.
    The sync_type value parameter is "replication support type" when the subscrition was added orginally to the publication. This trsnslates into a value of 3 (CONCURRENT)  in sync_method
    column on the outpout of sp_helppublication SP execution.
    What am I doing wrong? Please advise. Your help is much appreciated.
    Thanks in advance
    Kirti

    Thanks for your reposne, Mr. Cottr.
    It was a type-oin the value for @sync_type parameter in the sp_addsubscription call when I posted this article originally. It was actually set to "automatic".  I have posted the scripts per your request. These scripts are executed in SQLCMD mode in
    SSMS query qindow. Since this is a PULL subscription, thre is another script for pP-addpullsubscription that is not incldued in this post. If you need that also, I will be glald to post that also. Thanks again for your help.
    -->>>>>sp_addpublication:
    USE [master]
    GO
                           SQL Server Transactional Replication Related Scripts
    Function: Configuring publication on the database at the publisher
    -- TO DO: Parameters to set before executing this TSQL batch script
    :SETVAR pub_dbname                TestDB
    :SETvar pub_name                  TestDB-TranPub01
    :SETVAR distributor               DISTRIBSVR
    :SETVAR repl_admin_account        <domain>\<account_name>
                                       --replication admin account for non-prod environment
    :SETVAR repl_admin_password       <pwd>
                                       --password for replication admin account
    USE [$(pub_dbname)]
    SET NOCOUNT ON
    IF db_name() IN ('master', 'model', 'msdb', 'tempdb', 'distribution', 'DBA')
    BEGIN
       RAISERROR('Please set the user database name properly and rerun the script', 15, 100)
       RETURN
    END
    DECLARE @dynsql                        sysname
           ,@repl_ddl                      int
           ,@allow_initialize_from_backup  varchar(5)
    SET @repl_ddl                     = 1       -- preferred value is 0 (replication of DDL statements prohibited; manually enabled
    when needed only)
    SET @allow_initialize_from_backup = 'true'  -- preferred /do not change this value
    -- Adding the transactional publication
    DECLARE @desc     varchar(255)
    SET @desc = 'Transactional replication of database ' + QUOTENAME('$(pub_dbname)') +
                ' from publisher ' + QUOTENAME(@@servername) + '; Publication: ' + QUOTENAME('$(pub_name)')
    PRINT '1. Configureing publication ' + QUOTENAME('$(pub_name)') + ' on database ' + QUOTENAME('$(pub_dbname)') + ' ...'
    EXEC sp_addpublication
         @publication                  = '$(pub_name)',
         @description                  = @desc,
         @retention                    = 0,
         @add_to_active_directory      = N'false',
         @allow_push                   = N'false',      -- push subscription disabled
         @allow_pull                   = N'true',       -- pull subscription enabled
         @allow_anonymous              = N'false',   
         @allow_sync_tran              = N'false',
         @allow_queued_tran            = N'false',
         @allow_dts                    = N'false',
         @allow_initialize_from_backup = @allow_initialize_from_backup,
         @allow_subscription_copy      = N'false',
         @compress_snapshot            = N'false',
         @enabled_for_internet         = N'false',    
         @enabled_for_p2p              = N'false',
         @independent_agent            = N'true',
         @immediate_sync               = N'false',     
         @repl_freq                    = N'continuous',
         @replicate_ddl                = @repl_ddl,
         @snapshot_in_defaultfolder    = N'true',
         @status                       = N'inactive',   -- initialy publication is inactive / activated later after articles
    are added to the pblication
         @sync_method                  = N'concurrent'  -- preferred
    IF @@ERROR <> 0 RETURN
    PRINT '2. Configureing publication ' + QUOTENAME('$(pub_name)') + ' on database ' + QUOTENAME('$(pub_dbname)') + ' ...'
    EXEC sp_addpublication_snapshot
          @publication                 = '$(pub_name)',
          @frequency_type              = 1,
          @frequency_interval          = 1,
          @frequency_relative_interval = 1,
          @frequency_recurrence_factor = 0,
          @frequency_subday            = 8,
          @frequency_subday_interval   = 1,
          @active_start_time_of_day    = 0,
          @active_end_time_of_day      = 235959,
          @active_start_date           = 0,
          @active_end_date             = 0,
          @job_login                   = '$(repl_admin_account)',
          @job_password                = '$(repl_admin_password)',
          @publisher_security_mode     = 1,             --Windows authentiction
          @publisher_login             = '$(repl_admin_account)',
          @publisher_password          = '$(repl_admin_password)'
    IF @@ERROR <> 0 RETURN
    PRINT 'Executing sp_helppublication for ' + QUOTENAME('$(pub_dbname)') + '.' + QUOTENAME('$(pub_name)') + ' ...'
    EXEC sp_helppublication @publication = '$(pub_name)'
    PRINT 'Executing sp_helppublication_snapshot for ' + QUOTENAME('$(pub_dbname)') + '.' + QUOTENAME('$(pub_name)') + ' ...'
    EXEC sp_helppublication_snapshot @publication = '$(pub_name)'
    --->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    -->>>>sp_addsubscription
    USE [master]
    GO
                           SQL Server Transactional Replication Related Scripts
    Function: Register the (pull) subscription at the subscriber
    -- TO DO: Parameters to set before executing this TSQL batch script
    :SETVAR publisher_dbname          TestDB
    :SETvar publication_name          TestDB-TranPub01
    :SETVAR subs_server               SUBSVR
    :SETVAR subs_dbname               TestDB
    :SETVAR distributor               DISTRIBSVR
    :SETVAR repl_admin_account        <domain>\<account_name
                                      --replication admin account for non-prod environment
    :SETVAR repl_admin_password      <pwd>
                                      --password for replication admin account
    USE [$(publisher_dbname)]
    SET NOCOUNT ON
    IF db_name() IN ('master', 'model', 'msdb', 'tempdb', 'distribution', 'DBA')
    BEGIN
       RAISERROR('Please set the user database name properly and rerun the script', 15, 100)
       RETURN
    END
    DECLARE @dynsql                        sysname
           ,@distibutor                    sysname
           ,@subscriber                    sysname
           ,@pub_dbname                    sysname
           ,@pub_name                      sysname
           ,@pub_login                     sysname
           ,@pub_password                  sysname
           ,@dest_dbname                   sysname
           ,@job_login                     sysname
           ,@job_password                  sysname
           ,@repl_ddl                      int
           ,@allow_initialize_from_backup  varchar(5)
    SET @pub_dbname                   = '$(publisher_dbname)'
    SET @pub_name                     = '$(publication_name)'
    SET @subscriber                   = '$(subs_server)'
    SET @dest_dbname                  = '$(subs_dbname)'
    SET @distibutor                   = '$(distributor)'
    SET @job_login                    = '$(repl_admin_account)'  
                                         -- used by replication agents to connect
    to publisher for queued updating subscriptions
                                         -- make sure account has DBO access on subscriber
    db
    SET @job_password                 = '$(repl_admin_password)'
    PRINT '1. Adding subscriber for pull subsctiption of publication ' + QUOTENAME(@pub_name) + ' on database ' + QUOTENAME(@pub_dbname) + ' ...'
    EXEC sp_addsubscription
         @publication       = @pub_name,
         @article           = 'all',
         @subscriber        = @subscriber,
         @destination_db    = @dest_dbname,
         @subscription_type = N'pull',
         @update_mode       = N'read only',
         @sync_type         = 'replication support only',
         @status            = 'active'
    IF @@ERROR <> 0 RETURN
    Execute sp_helpsubscription @publication = 'FTBTrade_TEST-TranPub01'
    --@pub_name

  • Replication Error in Goldengate SQL Server 2005 to Oracle.

    Dear All
    SQL Server 2005 is my source database and oracle is my destination database when i run my param file at source side following error occur.Kindly suggest the solution.
    ERROR OGG-00146 VAM function VAMInitialize returned unexpected result:
    error 600 - VAM Client Report <MSSqlVam: (1) At least one option of type MANAGESECONDARYTRUNCATIONPOINT
    needs to be specified for TRANLOGOPTIONS (DSOPTIONS)>.

    The GoldenGate forum is over here:
    GoldenGate
    (question is somewhat old, but unanswered)
    SQL Server setup - you have to choose one of two options for the truncation point and the transaction log:
    If the Extract process is running against a SQL Server 2005 source, use the TRANLOGOPTIONS
    parameter to control whether Extract or SQL Server maintains the secondary truncation
    point. This is a required parameter and must contain one of the following options:
    SQL Server replication maintains the truncation point
    Use TRANLOGOPTIONS with the NOMANAGESECONDARYTRUNCATIONPOINT option if Extract and
    SQL Server 2005 replication or a third-party replication program will be running at the
    same time for the same database.
    Oracle GoldenGate maintains the truncation point
    Use TRANLOGOPTIONS with the MANAGESECONDARYTRUNCATIONPOINT option if Extract and SQL
    Server 2005 replication or a third-party replication program will not be running at the
    same time for the same database.
    See page 29 in the SQL Server setup and installation guide

  • Guide to differences between SQL Server Transact SQL and Oracle PL/SQL

    Does anyone know of a good book (or online guide) that has an in-depth comparison of the differences between SQL Server Transact SQL and Oracle PL/SQL? (Something more than a beginner's guide)

    Hello,
    Below links will surely be helpful
    Discontinued features in SQL 2012
    Depricated features in SQL Server 2012
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • I am trying to have access tables of the Sql Server through the Oracle

    I am trying to have access tables of the Sql Server through the Oracle and this being occurred the error:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message: [Generic Connectivity using ODBC][H006] The init parameter <HS_FDS_CONNECT_INFO> is not set.
    Please set it in init <orasid>.ora file.
    ORA-02063: preceding 2 lines from HSMSQL
    I created the ODBC with name HSMSQL.
    I made all the configurations in the archives
    tnsnames.ora:
    HSMSQL=
    (DESCRIPTION=
    (ADDRESS= (PROTOCOL = tcp)(HOST = wsus)(PORT = 1521))
    (CONNECT_DATA =
    (SID = HSMSQL)
    (HS = OK)
    listener.ora:
    (SID_DESC = (SID_NAME=HSMSQL)
    (ORACLE_HOME= C:\oracle\ora92)
    (PROGRAM =hsodbc)
    initHS_SID.ora:
    HS_FDS_CONNECT_INFO = HSMSQL
    HS_FDS_TRACE_LEVEL = OFF
    -- Create database link
    create database link HSMSQL.US.ORACLE.COM
    connect to TESTE identified by TESTE2
    using 'HSMSQL';
    But when I execute query the error occurs:
    Select * from TabTeste@HSMSQL
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message: [Generic Connectivity using ODBC][H006] The init parameter <HS_FDS_CONNECT_INFO> is not set.
    Please set it in init <orasid>.ora file.
    ORA-02063: preceding 2 lines from HSMSQL
    Please they help me, thanks, Paulo.

    Hi,
    It seems that your configuration is Ok. By the way, the workaround for this error is:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Transparent gateway for ODBC][H001] The environment variable <HS_FDS_CONNECT_INFO> is not set.
    * Set HS_FDS_CONNECT_INFO in the hs{sid}init.ora file to the data source name.
    Example: HS_FDS_CONNECT_INFO = <ODBC DataSource Name>
    * Make sure the hs{sid}init.ora file exists in the ORACLE_HOME/hs/admin directory and has the same name as the SID in the LISTENER.ORA.
    Example: If SID=hsodbc in the listener.ora file, then the hs{sid}init.ora file would be named ORACLE_HOME/hs/admin/inithsodbc.ora
    For more information see if this [url http://forums.oracle.com/forums/thread.jspa?forumID=61&threadID=576975]thread can help you.
    Cheers

  • General question on SQL Server 2000 to Oracle 10g

    Hello all,
    I just have a general question on migration from SQL Server 2000 to Oracle 10g using SQL Developer.
    How does it migrate Users with proper privileges from SQL Server to Oracle? Follow the interface steps? Or should the users be created on destination Oracle side?
    Thank you.

    Hi,
    It depends which type of migration you are making.
    For a 'Standard' migration when you migrate data a 'create user' statement is created as part of the migration and you will see this in the generated code.
    If you are using the 'Quick' migration option then you need to create the Oracle user or use an existing user to receive the data.
    Your best option is to review the documentation available from -
    http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
    or directly from -
    http://download.oracle.com/docs/cd/E12151_01/index.htm
    and then get back with specific questions if this does not give you the information you need.
    Review the chapter -
    2. Migrating Third-Party Databases
    in -
    Oracle® Database SQL Developer User’s Guide Release 1.5
    Regards,
    Mike

  • Problem in Loading Data from SQL Server 2000 to Oracle 10g

    Hi All,
    I am a university student and using ODI for my final project on real-time data warehousing. I am trying to load data from MS SQL Server 2000 into Oracle 10g target table. Everything goes fine until I execute the interface for the initial load. When I choose the CKM Oracle(Create unique index on the I$ table) km, the following step fails:
    21 - Integration - Prj_Dim_RegionInterface - Create Unique Index on flow table
    Where Prj_Dim_Region is the name of my target table in Oracle.
    The error message is:
    955 : 42000 : java.sql.SQLException: ORA-00955: name is already used by an existing object
    java.sql.SQLException: ORA-00955: name is already used by an existing object
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1086)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3057)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    I am using a surrogate key column in my target table alongwith the natural key. The natural key is populated by the primary key of my source table, but for the surrogate key, I have created a sequence in my oracle schema where the target table exists and have used the following code for mapping:
    <%=snpRef.getObjectName( "L" , "SQ_PRJ_DIM_REGION" , "D" )%>.nextval
    I have chosen to execute this code on target.
    Among my attempts to solve this problem was to set Create Index option of the CKM Oracle(Create Index for the I$ Table) to No so that it wont create any index on the flow table. I also tried to use the simple CKM Oracle km . Both solutions allowed the interface to execute successfully without any errors, but the data was not loaded into the target table.
    When I right-click on the Prj_Dim_Region data store and choose Data, it shows empty. Pressing the SQL button in this data store shows a dialog box " New Query" where I see this query:
    select * from NOVELTYFURNITUREDW.PRJ_DIM_REGION
    But when i press OK to run it, I get this error message:
    java.lang.IllegalArgumentException: Row index out of range
         at javax.swing.JTable.boundRow(Unknown Source)
         at javax.swing.JTable.setRowSelectionInterval(Unknown Source)
         at com.borland.dbswing.JdbTable.accessChange(JdbTable.java:2959)
         at com.borland.dx.dataset.AccessEvent.dispatch(Unknown Source)
         at com.borland.jb.util.EventMulticaster.dispatch(Unknown Source)
         at com.borland.dx.dataset.DataSet.a(Unknown Source)
         at com.borland.dx.dataset.DataSet.a(Unknown Source)
         at com.borland.dx.dataset.DataSet.a(Unknown Source)
         at com.borland.dx.dataset.DataSet.open(Unknown Source)
         at com.borland.dx.dataset.StorageDataSet.refresh(Unknown Source)
         at com.borland.dx.sql.dataset.QueryDataSet.refresh(Unknown Source)
         at com.borland.dx.sql.dataset.QueryDataSet.executeQuery(Unknown Source)
         at com.sunopsis.graphical.frame.a.cg.actionPerformed(cg.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    I do not understand what the problem is and wasting days to figure it out. Any help will be highly appreciated as my deadline is too close for this project.
    Thank you so much in advance.
    Neel

    Hi Cezar,
    Can u plz help me with this scenario?
    I have one Oracle data model with 19 source tables and one SQL Server data model with 10 target tables. I have created 10 interfaces which use JournalizedDataOnly on one of the tables in the interface; e.g in interface for DimCustomer target table, I have 2 tables, namely Customer and Address, but the journalizing filter appear only on Customer table and this option is disabled for Address automatically.
    Now I want to create a package using OdiWaitForLog event detection. Is it possible to put all these 10 interfaces in just one package to populate the target tables? It works fine when I have only one interface and I use the name of one table in the interface for Table Name parameter of OdiWaitForLogData event, but when I try a comma seperated list of table names[Customer, Address] this error happens
    java.sql.SQLException: ORA-00942: table or view does not exist
    and if I use this method <%=odiRef.getObjectName("L","model_code","logical_schema","D")%>, I get this error
    "-CDC_SET_NAME=Exception getObjectName("L", "model_code", "logical_schema", "D") : SnpLSchema.getLSchemaByName : SnpLschema does not exist" "
    Please let me know how to make it work?
    Do I need to create separate data models each including only those tables which appear in their corresponding interface and package? Or do I need to create multiple packages each with only one journalized interface to populate only one target table?
    Thank you for your time in advance.
    Regards,
    Neel

  • Move data from sql server v8  to oracle 10g

    I just got urgent projects to migrate the data from MS SQL server 2000 to oracle 10g. The following are requirements:
    Source data/table: MS sql server 2k (version 8) on MS 2000 machine.
    Destination Data/table: oracle 10g (10.1.0.4) on Redhat version 3.
    Total number of tables: < 10 tables and < 1000 rows each tables.
    This is only one time data extraction. No periodically data extraction need.
    Questions:
    What connect method I should use? (odbc or jdbc)
    What if I have image datatype?
    Thanks in advance.

    Use the Oracle Migration Workbench.
    http://www.oracle.com/technology/tech/migration/workbench/index.html
    I think IMAGE will be migrated to BLOB by default.
    Donal

  • Exporting data from SQL Server database to Oracle database

    Hello All,
    We need to replicate a table's data of SQL Server database to Oracle database.
    Can this task be accomplished using Import/Export wizard or Linked servers?
    Can help me regarding which Oracle data access components should i download to do this?
    I am using SQL Server 2012.
    And i have Oracle 11g release 2 client installed in my system.
    Thanks in Advance.
    Thanks and Regards, Readers please vote for my posts if the questions i asked are helpful.

    Yes you can definitely transfer data from SQL server to Oracle Have a look at below links
    Export SQL server data to Oracle Using SSIS
    Use OLEDB data provider to transfer data from SQL server to Oracle
    Using Import Export Wizard
    Similar thread
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Error while Viewing SQL Server data from Oracle

    Dear Friends,
    I am using Oracle10g XE.
    I have made a connection to view or insert data in SQL Server Database from Oracle.
    I  have done all the things with the help of below link.
    http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
    Everything worked fine. but when i run below query
    select "EmployeeNo" from hrtattendance@mysqlserverdsn
    it gives an error which is mentioned below
    ERROR at line 1:
    ora-28545: error diagnosed by Net8 when connecting to an agent
    Unable to reteieve text of  NETWORK/NCR MESSAGE 65535
    ORA-02063: preceding 2 lines from MYSQLSERVERDSN
    Please help. I will be thankful.
    Regards,

    Dear Klaus,
    Here u go.
    C:\>C:\oraclexe\app\oracle\product\10.2.0\server\bin\hsodbc
    Oracle Corporation --- TUESDAY   JUN 24 2014 16:28:20.146
    Heterogeneous Agent Release 10.2.0.1.0 - Production  Built with
       Driver for ODBC
    C:\>C:\oraclexe\app\oracle\product\10.2.0\server\bin\tnsping MYSQLSERVERDSN
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 24-JUN-2
    014 16:28:33
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT
    =1522)) (CONNECT_DATA=(SID=MYSQLSERVERDSN)) (HS=OK))
    TNS-12541: TNS:no listener
    C:\>C:\oraclexe\app\oracle\product\10.2.0\server\bin\lsnrctl status LISTENERMYSQLSERVERDSN
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 24-JUN-2014 16:28
    :48
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 61: Unknown error
    Connecting to (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 2: No such file or directory
    C:\>
    Regards,

  • Migration From SQL Server 2005 to Oracle DB through Oracle SQ Dev Problem

    Hi all,
    we are trying to do a full Migration from MS SQL Server 2005 to Oracle DB 9.2 i
    we are using Oracle SQL Developer V 1.5.3,
    the capturing of the DB and the conversion to the oracle model completed succefully
    however when we try to generate the scripts from the converted model
    the script generation hangs on a sequence and no further progress is made (the script generation pop up keeps still on a certain sequence displaying its name, and thats it )
    no error messages are displayed,
    how can we know the reason for this? or atleast find a log for whats happening...
    any suggestions?
    Thank you

    Hi,
    migrating a sequence shouldn't make a problem. I did a quick test. I created this table in SQL Server:
    create table test_seq (col1 int identity(1,1),col2 char(1))
    Then I captured the table, converted the table and generated the script. There was no problem.
    CREATE SEQUENCE succeeded.
    CREATE TABLE succeeded.
    Connected
    TRIGGER test_seq_col1_TRG Compiled.
    As you see, applying the script was also successful.
    I am using Oracle RDBMS 11g, I don't know whether this makes a difference. Do you have any 11g instance available to test it?
    Can you show me one of the sequences that are causing the hang? Is the CREATE SEQUENCE statement already in the generated script, or not? Your table is for sure more complex than my simple example.
    Regards,
    Wolfgang
    Edited by: wkobargs on Jan 13, 2009 3:01 AM

  • Migration from SQL Server 7 to oracle 8.1.7 on windows 2000 professional

    Hello All,
    I am currently working on Database migration from sql server 7 to oracle 8.1.7.
    My setup is as follows:
    1. Both the databases (sql server and oracle are on the same machine )
    2. My sql server database contains 200 tables and 190 stored procedures, which need to be migrated to oracle.
    When i am trying to capture the Source database details, its capturing evry thing but when its mapping at the end ...it says "MAPPING ROLE PUBLIC" and its not proceeding furthur..What do u want me to do ? i waited for approx 1 hr , still its not proceeding....How to resolve this bug ?
    Also please suggest me the best methodology for Migrating the stored procedures. allmost all my stored procedures have TEMP Tables implemented in it. Please help me in this...
    Also please let me know the Timeframe estimate for this total thing to be done..
    Waiting for your reply,
    Thanks and Regards
    SAI SREENIVAS JEEDIGUNTA

    You can user Oracle Migration Workbench to migrate from SQL Server to Oracle.
    Here is the link which gives info on software usage and download :
    http://otn.oracle.com/tech/migration/workbench/content.html
    Chandar

  • Connect SQL Server 2008 in Oracle BI EE

    Hi all,
    Am very very new to Oracle BI and i want to know how to connect my local SQL server database in Oracle BI EE to create new reports.
    Thanks ,
    Sathish

    Sathish,
    See the below link will helpful to you,
    1. Step 6). Create RCU using Repository Creation Utility 11.1.1.3.3 software. from
    http://www.bisptrainings.com/2011/11/obiee-installation-11g-using-ms-sql.html
    2. http://www.skurabigroup.com/blog/?p=745
    If you face ODBC Driver Error with SQL Server
    1. http://total-bi.com/2011/05/obiee-11g-strange-odbc-driver-error-with-sql-server/
    2. http://danishhotta.com/?p=179
    Thanks,
    Balaa...

  • Connect to MS-SQL Server from a Oracle 10g running under Solaris

    Hi,
    I have the following problem. I want to access a MS-SQL server from an Oracle database (10g Enterprise licence) that is running on Solaris.
    After googling a while, the following questions arise:
    - Is it correct that the Oracle Transparant Gateway for the SQL Server is not available on Solaris platforms (but only on Windows)?
    - Is it right, that the second possibility to solve this problem is to use an SQL-Server odbc driver for Solaris and access the SQL-Server over ODBC? And: Is this feature included in the Enterprise licence?
    - If yes, which driver is good and cheap ;-)?
    - Is there any other way to solve this problem?
    Thanks
    Aron
    Message was edited by:
    user583720

    I believe the Transparenet Gateway for SQL Server is available on Solaris. The problem is that you need a Unix based ODBC driver which you will also need to pay for.
    We had this same problem and decided to run a windows based Heterogeneous Services gateway and routed through it instead of using the SQL Server transparent gateway. The Heterogenous severives gateway is NOT an add on product (as is Transparent Gateway). The drawback would be performance as I would expect the native MS SQL transparent gateway to perform better, but in our case it worked acceptably.

Maybe you are looking for

  • [Linux] How can I see if there are new messages without opening Thunderbird?

    Hi folks I'm working on Linux Fedora (20) and am wondering if there's any way to see if I have new emails without opening Thunderbird again. I usually have Thunderbird minimized and when a new email arrives, I get a desktop notification, which is gre

  • App update wont install

    Hi. Im having a serious problem. I've downloaded the Diamond Twister App from iTunes store. The problem is, that i WILL NOT install!! It downloads, starts installing and when the blue bar is almost done, it starts over. I let it do that like 10 times

  • Send Idoc to AS2 System via HTTP using XI

    Hi, We need to send Invoice Idocs as XML files from SAP R/3 system to external AS2 system using XI. The communication will happen over HTTP using certificate. I tried using Plain HTTP adapter , but the message went into error 'ATTRIBUTE_CLIENT'. Why

  • Openinig MS Office document from KM

    Hi! There is intresting situation. When user click to Excel document from KM it may takes him a very long time (10 minutes) when it opens. If Excel application is run before opening document from KM - opening completed immediately. Versions are: Netw

  • Crystal 2008 - Changing Paper Trays

    I am building a report using Crystal 2008.  I need to have page one print to one paper tray and the subsequent pages print to another paper tray using the same printer.  I have not been able to find an option to modify the paper tray or paper source