SQL to Oracle Server

Hello
I'll put up a link TO SQLServer to Oracle. I set up a linked server on the SQL computer (selects and updates and calling the work of the fine SP) and now trying to get a distributed transaction going on so that I can issue several commands and then validate the end of the process.

I'm as follows using as reference but it seems little informaiton about this sort of thing passed Oracle 8i. I use the client software of 11g on the side of SQL Server and the database 10g (10.2.0.4).
http://support.Microsoft.com/support/ComPlus/mtsandoracle.asp?sd=gn & LN = en-GB & gssnb = 1

On the SQL Server side, I use OLEDB Microsoft (I have also installed the Oracle OLEDB in the ODAC, but I don't think that I need this because I plan to use the MSDTC Microsoft rather than Orace MTS). The doc cited above seems to say that MTS is not required, and to be honest I prefer to keep things simple and use drivers MS existing and MSDTC rather than install the drivers Oracle and OracleMTS, if they are not really necessary. Someone at - it not experience / opinion on this please?

The main question I wanted to ask you, is that I was wondering if anyone could suggest if there is anything I do on the side of the Oracle to get this to work - it seems to be even less docs on this end of the transaction. I guess there are different parameters that would be preferable to set in the init.ora to optimize or even to allow distributed in Oracle transactions? No doubt MSDTC must run on the Oracle Server? I have to update the settings [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\MTxOCI] to reflect the Oracle 10 g s Dll on the server?

Any help from someone who has done this, or links to recent docs would be appreciated...

Thank you

Rob

Hello

No, it has nothing to do at the end of the Oracle server. Given that the customer is the MSSQL Server in our case that attempts to make a connection with Oracle and to transmit, and to query the data.

I think that you problem is solved, if you don't know how the naming model should be in the records of what you could do is simply go to ORACLE_HOME/bin directories and these DLLs will be residing there.

If your answer is resolved you could mark the response as correct ;)

Concerning

Tags: Database

Similar Questions

  • Convert a statement of SQL for Oracle Server Update

    Hello
    I need to convert an update statement written for SQL Server to run on Oracle.
    the update is:

    UPDATE TABLE1
    SET TBL2 = CDate. CDate
    OF TABLE1 TBL1
    JOIN TABLE2 ON TBL2 TBL2. Code = TBL1. TBL2Code
    JOIN TABLE3 TBL3 ON TBL3. ID = TBL1. ID
    WHERE TBL3. TypeCode = '07'

    How can I make compatible with oracle?

    Thank you!!

    Try this...

    MERGE INTO table1 t1
         USING (SELECT t2.cdate cdate, t1.ROWID ri
                  FROM table2 t2, table3 t3, table1 t1
                 WHERE     t2.code = t1.tbl2code
                       AND t3.id = t1.id
                       AND t2.typecode = '07') src
            ON (t1.ROWID = src.ri)
    WHEN MATCHED
    THEN
       UPDATE SET t1.cdate = src.cdate
    
  • Problem of migration: SQL to Oracle Server

    Windows 2008
    Oracle 11.2.0.2

    I'm migration of database sql server 2005 to Oracle 11 g. I have migrated without error, but when I compare the two system tables, I'm getting inconsistent County. Majority of the tables are consistent, but two or three are this inconsistent numbers, including the example below.

    Example:

    Oracle-
    Select count (*) in the tblcasefile;

    I get 3770 counties

    SQL Server-

    Select count (*) in tblcasefile:

    I get 3803 counties

    Any idea to get out of here?

    When you validate, code, ddl or output, please surround the noformat}

    {noformat} tags to make it easier to read. It should look like this:
    

    SQL > tblcasefile desc;
    >

    Name Null? Type
    ----------------------------------------- -------- -------------------

    AUTONUMBER NOT NULL NUMBER (10)
    CASENUMBER NOT NULL NUMBER (10)
    OLDCASENUMBER NUMBER (10)
    DATE_OF_INCIDENT VARCHAR2 (24 CHAR)
    DATE OF DATE_INITIALLY_REPORTED
    REPORTED_TO VARCHAR2 (255 CHAR)
    REPORTED_TO_POSITION VARCHAR2 (100 CHAR)
    DATE OF DATE_REPORTED_TO_BOARD

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
    
  • transfer of data from the sql for oracle server

    Can we use the tools datapumps or oracle exp in oracle to transfer data from oracle to sql server database? Is it possible to do through the use of these tools expdp or exp in oracle. Create oracle dump files and import them to sql server?
    I know there are third-party tools for the same. but I'm just curious?

    No, these tools cannot be used for the transfer of data from oracle to sql server. The two write files in an oracle proprietary format, that they not fixed data or sql scripits files.

  • MySQL to Oracle using LKM SQL to Oracle, poor performance

    Hello

    I'm on the underside of technology.

    I'm try to use ODI to import data from MySQL to Oracle using the LKM SQL to Oracle, it works well for small amounts of documents but once volumes go higher it performs very badly.

    I'm replacing an integration of existing HS dblink to 44 seconds and ODI is 9 minutes.

    The MySQL and Oracle DB are on the same host with an autonomous ODI agent on the same host.

    MySQL 5.6.21

    Oracle 11.2.0.4

    Oracle Data Integrator 12.1.3

    I may try a different approach to dumping the MySQL table to a flat file and import from external table or sqlldr but y at - it a way to make the LKM SQL for Oracle perform better?

    Hello

    This problem has been resolved.

    I was setting the table sizes in batches on the data source server, after you set the values on the target data server is it now works as expected.

    Using a value of 5,000 for the two tables has reduced the operating time of 9 minutes to about 40 seconds.

  • Update/join script to the oracle server

    Im trying to create a script using two tables in my oracle server.

    Developer SQL im trying to use these two different tables

    Table 1: conductorinfo

    Table2: calkva

    I want to join the two tables based on two fields:

    Condsize

    Condmatl

    (because the two tables have these fields) And based on these games of field, update the field conductorinfo of the table "calckva", because currently we have not these data in the conductorinfo table

    This is the script I came up with:

    UPDATE conductorinfo

    JOIN INTERNAL Calkva

    ON conductorinfo.condsize = calkva.condsize

    AND conductorinfo.condmatl = calkva.condmatl

    SET conductorinfo.calkva = calkva.calculatedkva

    WHERE conductorinfo.condsize = calkva.condsize

    AND conductorinfo.condmatl = calkva.condmatl

    Then I read this update/join cannot be used with an oracle server

    Any suggestions?

    Hello

    Here's a way you can use the MERGE:

    MERGE INTO dst conductorinfo

    With the HELP of calkva CBC

    WE (dst.condsize = src.condsize

    AND dst.condmatl = src.condmatl

    )

    WHEN MATCHED THEN UPDATE

    SET dst.calkva = dst.calculatedkva

    ;

  • convert DB2008 SQL express oracle 12 c by sql developer

    Hi friends,

    I created a SQL 2008 declare for the prod database. I run OMWB_OFFLINE_CAPTURE and receive an ocp source file complete

    Transform ocp Oracle express12c sql developer (3.2.20.10) but failed with error DB

    oracle.dbtools.metadata.persistence.PersistenceException: ORA-06550: line 1, column 14: PLS-00201: identifier ' MIGRATION. GATHERCONNECTIONSTATS' must be declared ORA-06550: line 1, column 7: PL/SQL: statement ignored

    Research on the basis and the migrated tables revised, I found that I only migrated system SQL sql objects and does not see any user with dbo SQL prefix object

    OMWB_OFFLINE_CAPTURE test its backsql P@$$w0rd1234

    The SQL server database was generated by s a software vendor and we know not what user has application data.

    How can I get sql tables dbo server in ocp for the migration file.

    Thank you

    newdba

    Hello

    I ran a test on my system using SQL * 3.2 Developer and don't see the problem you have.

    Can I check what you have done and the steps to follow?

    1. you have generated the ocp in the menu - Tools - Migration file - Create Database capture Scripts

    2. after the execution of OMWB_OFFLINE_CAPTURE you see 2 directories under the directory chosen for migration?

    You should see - 2 directories - 'master' and 'backsql.

    3. in the migration wizard.

    Tools - Migration - migration

    for the 'Source' database, you chose "offline" and then the file .ocp is generated - sqlserver2008.ocp

    4. in the next screen "Capture" you shoud see the database "backsql" in the column "databases selected. If it of in "Databases" then move it across.

    If that's what you see migration should precede as planned.

    5. in the next screen - target database - choose "offline" and check the generated scripts.

    They should contain instructions create for all objects in the database 'backsql.

    If this isn't what you see then please detail the exact measurements you have taken.

    Kind regards

    Mike

  • ORA-00603: ORACLE Server Session concluded with fatal error

    I am getting error, below
    SQL> select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE    10.2.0.5.0      Production
    TNS for HPUX: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    
    SQL> create index idx_index5 on user.newtable1 (column1) tablespace tablespace_index_01;
    create index idx_index5 on user.newtable1 (column1) tablespace tablespace_index_01;                                          *
    ERROR at line 1:
    ORA-00603: ORACLE server session terminated by fatal error
    
    
    SQL> exit
    According to the suggestion I received from all the great blogs, I've seen the log file, here is my log file
    ORA-01114: IO error writing block to file 201 (block # 581129)
    ORA-27072: File I/O error
    HPUX-ia64 Error: 28: No space left on device
    Additional information: 4
    Additional information: 581129
    Additional information: -1
    ORA-01114: IO error writing block to file 201 (block # 581129)
    ORA-27072: File I/O error
    HPUX-ia64 Error: 28: No space left on device
    Additional information: 4
    Additional information: 581129
    Additional information: -1
    ORA-01114: IO error writing block to file 201 (block # 581129)
    ORA-27072: File I/O error
    HPUX-ia64 Error: 28: No space left on device
    Additional information: 4
    Additional information: 581129
    Additional information: -1
    ORA-01114: IO error writing block to file 201 (block # 581129)
    ORA-27072: File I/O error
    HPUX-ia64 Error: 28: No space left on device
    Additional information: 4
    Additional information: 581129
    Additional information: -1
    But there is enough space allocated to tablespace_index_01 abut 55Gig, and table user.newtable1 is about 80Gig.

    I don't know why I still get error no space left on the device .

    Any suggestions greatly appreciated.

    Hello;

    It was so annoying and I found this:

    How To Recover From missing Tempfiles or a temporary Tablespace empty [ID 178992.1]

    "The temporary TEMP01 file (default name) is lost at the OS level."

    I think 201 is a TEMP file.

    Of course would make things add up.

    Best regards

    mseberg

    It must raise an error

    select * from dba_objects order by object_name;
    

    Published by: mseberg on October 5, 2011 15:33

  • Developer unable to connect SQL database Oracle as a SYSDBA

    Hi all
    Recently, I installed SQL Developer3.0 on my machine and try to create the connection to the local Oracle server. But something confuses me. When I login as normal role, it can connect DB successfully; When I connect as sysdba role named sys, it has always failed and show "name of user and password invalid. I don't know that the username and password are right, because I haved connected the oracle DB from pl/SQL with the same user name and password. And I also chose the role as sysdba. SQL Developer3.0 not support connect as sysdba? I would be very grateful if someone could give me a helping hand. Thanks in advance.

    Hi 851634,

    Do you need a password for remote sysdba (old link) file?
    Cannot connect as sysdba in Oracle Enterprise Management Console

    You can try to open a session (loopback) on the network as sysdba, which requires a password file.

    -Turloch
    Team SQLDeveloper

  • Trying to get SQL to Oracle via VBScript - help needed connection

    Hello
    I really need help please because I am new to VBScript and TNS connections and all this stuff is complicated.
    I'm trying to make a connection with one of our Oracle servers and to extract some database through SQL commands, but after trying for a few days, I'm stumped.

    Here are the details, and I hope someone can advise me in simple language on where I'm wrong.


    The I'm trying to connect from is an Essbase server that already has an ODBC connection to the Oracle Server installation in the ODBC data source administrator. The driver that I see in the ODBC data source administrator is 'Oracle in OraClient10g_home1' and a "SQL Sever" driver as well as some drivers OEM MEARNT.
    The tnsnames.ora has the information for the Oracle server and I can't tnsping to it successfully.
    Navigation around the web, I tried a few methods to connect:


    "Driver = {Microsoft ODBC for Oracle};" DBQ = ABCD; UID = username; Pwd = PASSWORD; »
    I get the error message:
    "Provider is not specified and there is no designated default provider."


    I understand that I don't have the Microsoft ODBC for Oracle installed driver, do not know if we need if we have the Oracle in OraClient10g_home1 driver and have a connection established. So I tried:


    "Driver = {Oracle in OraClient10g_home1}; DBQ = ABCD; UID = username; Pwd = PASSWORD; »

    Once again... "Provider is not specified and there is no designated default provider."

    I also tried another suggested method:


    Dim strCon

    strCon = "Driver = {Oracle in OraClient10g_home1}"; "." & _
    "CONNECTSTRING = (DESCRIPTION ="& _.
    "(ADDRESS =(PROTOCOL=TCP)"& _
    "(HOST = EssbaseServer)(PORT=1592))" & _
    "(CONNECT_DATA = (SERVICE_NAME = ABCD))); UID = LOGIN; pwd = PASSWORD; »

    Ollivier Dim: Set Ocón = WScript.CreateObject ("ADODB. Connection")
    Dim oRs: Set oRs = WScript.CreateObject ("ADODB. Recordset')
    oCon.Open strCon
    oCon.Close

    Set oRs = Nothing
    Define Ocón = Nothing
    Again same error message:
    Provider is not specified and there is no designated default provider.

    This leads me to think that maybe I need to have the Microsoft ODBC for Oracle drivers installed on the server. Maybe I need to fix my script differently and am totally done badly. Any help please? If you think I need the driver could you please explain why and how this works if I can put forward for my argument to install it on the server.

    Thank you very much

    I'm not an expert in vbscript, but a few times I used ADODB to connect to Oracle with success. Something like

    'Database connection info
    set Conn = CreateObject("ADODB.connection")
    Conn.ConnectionTimeout = 30
    Conn.CommandTimeout = 30
    if dbType = "oracle" then
         conn.open("Provider=MSDAORA.1;User ID=" & dbUser & ";Password=" & dbPass & ";Data Source=" & dbName & ";Persist Security Info=False")
    elseif dbType = "sqlserver" then
         conn.open("Driver={SQL Server};Server=" & dbHost & ";Database=" & dbName & ";Uid=" & dbUser & ";Pwd=" & dbPass & ";")
    elseif dbType = "mysql" then
         conn.open("DRIVER={MySQL ODBC 3.51 Driver}; SERVER=" & dbHost & ";PORT=3306;DATABASE=" & dbName & "; UID=" & dbUser & "; PASSWORD=" & dbPass & "; OPTION=3")
    end if
    

    These variables are defined as

    dbType = "oracle"                 ' Valid values: "oracle", "sqlserver", "mysql"
    dbHost = "mrs-db-00021.abc-xyz.com"                 ' Hostname of the database server
    dbName = "LDBS_PRD"                 ' Name of the database/SID
    dbUser = "myuser"               ' Name of the user
    dbPass = "xxxx2212"               ' Password of the above-named user
    
  • List of all Oracle Server databases

    PEX
    I have a few questions.

    1. in Sql Server, we can use sp_databases stored procedure to list all the databases on the server. Is there any kind of functionality that will allow me to list all databses to an oracle server.

    2 to connect to an oracle server using visual studio is easy if we have tnsnames.ora but if we don't have it, it is a must to use the format of the alias in the Data Source property, while we create the connection string.
    Thank you

    So if I can't provide data bases, and what I understand of your responses, it should be possible to enumerate all the instances running on the server. In the affirmative, please let me know how do or direct me to the correct c# classes that will allow me to list all instances.
    The idea is that I want for all servers in the network from the list, and then select the a specific server. From this specific server, I want to list all running instances. thansks

    Published by: user8795364 on September 9, 2009 16:30

    Implementations are not the same. Pick up the guide of the Concepts of http://tahiti.oracle.com (and use the site to access the Documentation in general).

    In Oracle, you have a database (logical), not referenced by name, unlike the MSSS2005 which uses a database.schema.object structure naming. There is a SYS schema, without system databases each with their own schema sys etc. Of course, there are many, many more differences. Welcome to a new world! :)

  • Bangla language Unicode to the Oracle Server installation

    Hello please help me how to configure the server to Oracle of bengali language. I want to work with the bengali language in a VB.NET project. Please share a link where I can get video

    3125833 wrote:

    Hello please help me how to configure the server to Oracle of bengali language. I want to work with the bengali language in a VB.NET project. Please share a link where I can get video

    https://www.Google.com/search?q=Bangla+language+Oracle+Server

  • I want to log on without password to the oracle server

    I want to log on without password to the oracle server.

    by administrator user that I have installed the oracle database with that I can login without password, but by another user that I just can't!

    in windows server to oracle! a group with the name "oradba" exists in the windows group.

    any user who join the group to oradba can connect without a password

  • Maximum number of instances that can be created on an oracle server?

    Hi all...

    Can you tell me what is the maximum number of instances that can be created on an oracle server?

    Thanks and greetings

    Raymond Vinay

    Raymond Vinay wrote:

    Hi all...

    Can you tell me what is the maximum number of instances that can be created on an oracle server?

    Thanks and greetings

    Raymond Vinay

    The answer would be that as much as the ram in the server will stand. Is not limited the case as such. Maximum of how many you have created so far?

    Aman...

  • connection of forms 6i with mysql without involving the Oracle Server

    Hi all

    could someone tell me how to connect forms 6i to mysql without involving the Oracle Server?

    allow to say that I have installed Developer 2000 oracle and install mysql 5.0.

    I open the form builder, click on connect.
    What must I provide here.
    I tried to create the named MYSQL odbc driver and try to connect you as below

    Scott/Tiger@ODBC:MySQL

    but it gives the error ORA-03121-none connected driver interface, works do not run.

    What should do?

    What you ask is impossible. Oracle Forms is designed to interact specifically with the Oracle database. You can access the other tables in the database in an Oracle using Oracle heterogeneous Services database, but right ODBC is no longer supported.

    Craig...

Maybe you are looking for

  • Tab 'Search' shows u.k sites instead of sites in the United States

    When I recived the 9.0 upgrade, it was set to search sites and not US u.k like amazon.com. Instead, it has been defined on amazon.co.uk. How can I get the return of my native region parameter?

  • Windows 7 64 Bit update error Code 8E5E03FE

    I just bought a new PC running Windows 7 64 bit and made my first run updates of Windows very well, that everything installed OK. Then, most of the updates and everything I try they fail with "Error 8E5E03FE", help on Windows itself is absolutely use

  • Clip Zip ignores certain songs and blocks computer when disconnected

    OK, I tried to find a solution to my problem but I've not seen everything that has been resolved or the same problem, I have.  I use a Windows 7 desktop computer and have a 4 GB Clip Zip purple.  My main problem is that the music I downloaded from eM

  • Update OS to 10.2.0

    Hi all I need to update my Z10 camera for 10.2.0 Is it possible to install 10.2.0 on my device, now that 10.2.1 is available? We want to support since 10.2, is it possible or I will have to support not only from 10.2.1? Thanking in anticipation. Kind

  • I can't open certain pages due to the DNS error that can do about it?

    I can't open some pages that I know are not handicapped, yesterday I entered bathandbodyworks.com and today I can't. It seems that I need to a few add-ins or something; I tried to open it in google chrome and in internet explore, but the same thing h