Transaction accross multiple SQL Server 7.0 databases

Does any body know which driver to use to perform distributed transaction accross mutiple SQL Server 7.0 databases invloving CMPs .
          Any help appreciated.
          [att1.html]
          

Hi,
You can perform this action with the Oracle Migration Workbench. Just install the Workbench on the same machine as your SQL Server database.
You can then configure the workbench to point to the oracle database on your Sun machine.
You can use the Oracle database on your Sun machine for both your destination database (the database to which you migrate your SQL Server schema and data) and workbench repository.
In order to do this you will need to configure a tnsnames.ora entry. The tool that will do this configuration for you should be started up at the end of the workbench installation. It is a fairly straightfoward process.
You then need to create a user in your oracle database that will store the workbench repository.
Once you have comleted these steps you will be able to migrate SQL Server on NT to Oracle on Sun.
It is exactly the same process as migrating to Oracle on NT except you are pointing the Workbench to Oracle on a Sun box.
Regards
John

Similar Messages

  • Multiple SQL Server Instances and MSDTC / AGs usage

    Hello,
     We are in the planning stages of migrating from SQL Server 2008R2 to 2012 to be running on Windows Server 2012, and I have a question about MSDTC, Availability Groups and multiple sql instances on a single box.
     We have a couple of databases that rely on MSDTC so we know they can not participate in Availabilty Groups, but most of the other dbs we use DO NOT need MSDTC so I wondering the following:
    1) Can I install two instanaces of SQL Server on a single box and have one using a local DTC, and therefore unable to use AGs, and the other instance on the same box NOT use DTC and therefor CAN use AGs?
    2) If I can't do this, I assume each instance would need it's one machine. Is that correct?
    Thanks
    Eric

    Hi Eric,
    As described in this
    article, for a given availability group, the availability replicas must be hosted by separate instances of SQL Server residing on different nodes of a WSFC cluster. Thus, we cannot configure a availability group for multiple SQL Server instances that reside
    on a single node.
    In addition, MSDTC is not supported by AlwaysON Availability Groups because
    transaction atomicity/integrity cannot be guaranteed. For example, while
    using a MS DTC transaction, after failover, the new principal contacts MS DTC. But MS DTC has no knowledge of the new principal server, and it terminates any transactions that are "preparing to commit," which are considered committed
    in other databases. However, using Availability Groups together with DTC does not result in an unsupported SQL Server installation. For more information, please review this article:
    Cross-Database Transactions Not Supported For Database Mirroring or AlwaysOn Availability Groups (SQL Server).
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • How to reduce transaction log in SQL Server 2000

    Dear All gurus/experts,
    I need your help. The problem is that the time to take to reduce transaction log in SQL server 2000 when I use shrink method. Are there another way to do that beside shrink database (right click : all tasks --> shrink database) ?
    I appreciate your answers. TIA
    Rgds,

    Hi Steve,
    Is this for a test system or a production system?
    For a test system, as per Ad's post, setting the recovery model to simple should do the trick.
    For a production system, I'd recommend you leave the recovery model at full and set up transaction log backups. This will keep the log file at a reasonable size and you will gain point in time recovery (eg if you back up the logs on an hourly basis, you can recover the database to the last log backup, meaning you would never lose more than an hour's work).
    Kind Regards,
    Owen

  • I want to use the SQL Toolkit of NI and SQL Server as my databasis on a server. Do I need to install a client in each computer I want to handle the data into SQL tables or I need only a ODBC driver?

    I want to use the SQL Toolkit of NI and SQL Server as my databasis on a server. Do I need to install a client in each computer I want to handle the data into SQL tables or I need only a ODBC driver?

    You only need the ODBC driver on each computer. If you are distributing the SQL Toolkit app as an executable and do not install the whole toolkit on each computer, you'll need the SQL Toolkit support files. This is about a dozen files. You can get the list at http://digital.ni.com/public.nsf/websearch/b814be005f9da9258625658700550c75?OpenDocument.

  • How to store jpeg images in SQL server using NI database Connectivity Toolset. Can anyone please help me in this regard.

    Please tell how to store jpeg images in SQL Server using NI Database Connectivity Toolset.

    http://www.w3schools.com/sql/sql_datatypes.asp
    You setup a field as BLOB and store the binary of the picture there. Depending on the database it can be called differently as you can see in the link, in SQL server there's even a Image datatype.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • Insert and update tables from SQL server to oracle database tables

    Hi,
    I am having problem while update data from sql server to oracle database tables.
    I am doing one way insert +updates that is from SQL Server tables ==> Oracle database tables
    I am using tools Sql server Integration service. I can insert data from sql server to oracle but update can't. Please help me how can I update + insert from sql server to oracle database tables easily.
    Thanks in advance.

    Hi,
    What about using Oracle SQL Developer for migration
    http://www.oracle.com/technetwork/database/migration/sqlserver-095136.html
    HTH

  • How to connect java project to sql server 2008 r2 database

    i want to create an java application which has to create a database and later access it. My problem is that i am not able to connect sql server 2008 r2 database driver on to the netbeans.i have sql server 2008 r2 installed on my system.please
    suggest me the step by step procedure to establish the connection

    Hi ENG,
    To establish a connection to SQL Server from a Java project, you have to download the JDBC driver for SQL Server from
    here.
    After extracting the jar files(like sqljdbc.jar) from the above link, add the driver to the netbeansIDE.
    Test establishing a connection with the below Java Class.
    import java.sql.*;
    public class Test {
    public static void main(String[] srg) {
    String driverName = "com.microsoft.sqlserver.jdbc.SQLServerDriver"; //load the jdbc driver
    String dbURL = "jdbc:sqlserver://localhost:1433; DatabaseName=test"; //connection string to the db hosted on localhost
    String userName = "sa"; //user name
    String userPwd = "123456"; //password
    Connection dbConn;
    try {
    Class.forName(driverName);
    dbConn = DriverManager.getConnection(dbURL, userName, userPwd);
    System.out.println("Connection Successful!"); //print Connection Successful! if connection establishes
    } catch (Exception e) {
    e.printStackTrace();
    A demonstration video from Youtube for you reference.
    Connect NetBeans Project with Microsoft SQL Server 2008 - YouTube
    Since this is a question regarding Java, I suggest you post your subsequent questions to a java dedicated forum. It is appropriate and more experts will assist you.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • Transactional replication from SQL Server 2014 to Sybase 12.5

    Hi All,
    Is it possible to set up replication between SQL Server 2014 and Sybase 12.5 in which SQL server would be the publisher and Sybase as  subscriber.
    Regards..
    aa

    Hi Ashif,
    According to this
    blog, it is possible to set up transactional replication from SQL Server to Sybase.
    To achieve this, you could set up transactional replication via the Sybase OLE DB driver after you set up Sybase as a
    linked Server.
     For how to set up transactional replication, please refer to the article:
    http://sqlserverscribbles.com/2013/06/26/how-to-create-transactional-replication-in-sql-server/
    Regards,
    Michelle Li

  • Migrating SQL Server 7.0 Database to Oracle8i Enterprise Edition

    Hello,
    I am running SQL Server 7.0 and Oracle8i Enterprise Edition on a
    Windows 2000 Server OS. I need to migrate the SQL Server 7.0 database
    over to Oracle8i side. I have tried the SQL Server 7.0 export utility
    and the Oracle8i import utility without much luck. I am now trying to
    use the Migration Workbench for version 8.1.7 and am having even less
    luck than the SQL Server 7.0 export utility. I have, also, tried
    downloading Oracle's latest ODBC driver for v8.1.7 without any luck.
    As far as I can tell, the problems are occuring with the BIT to
    NUMBER(1) conversions (the data is captured as 0s and -1s instead of
    0s and 1s) and the CROSS JOINs in the views.
    I have also been to the otn.oracle.com news groups and there doesn't
    seem to be much there either.
    Has anyone had any success with the Migration Workbench and if so, how
    many scripts, "massages", etc. needed to be done?
    I have only begun working with Oracle in the last 3 weeks and would
    TRUELY appreciate any help anyone can give me.
    Thank you in advance,
    Ferda Taylor
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Ferda Taylor ([email protected]):
    Hello,
    I am running SQL Server 7.0 and Oracle8i Enterprise Edition on a
    Windows 2000 Server OS. I need to migrate the SQL Server 7.0 database
    over to Oracle8i side. I have tried the SQL Server 7.0 export utility
    and the Oracle8i import utility without much luck. I am now trying to
    use the Migration Workbench for version 8.1.7 and am having even less
    luck than the SQL Server 7.0 export utility. I have, also, tried
    downloading Oracle's latest ODBC driver for v8.1.7 without any luck.
    As far as I can tell, the problems are occuring with the BIT to
    NUMBER(1) conversions (the data is captured as 0s and -1s instead of
    0s and 1s) and the CROSS JOINs in the views.
    I have also been to the otn.oracle.com news groups and there doesn't
    seem to be much there either.
    Has anyone had any success with the Migration Workbench and if so, how
    many scripts, "massages", etc. needed to be done?
    I have only begun working with Oracle in the last 3 weeks and would
    TRUELY appreciate any help anyone can give me.
    Thank you in advance,
    Ferda Taylor
    <HR></BLOCKQUOTE>
    Hi Ferda,
    Could you send a reproducable testcase to [email protected] along with the error.log file which is located in %ORACLE_HOME%/omwb/log/ directory.
    null

  • What is the correct wording to connect to an SQL Server Express 2014 database?

    I am connecting to an Access 2007 database:
    oleConnection = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\...\\Db.accdb");
    What is the correct wording to connect to an SQL Server Express 2014 database?
    bhs67

    Hello,
    Please make sure you change RemoteServer with the computer name of the intended SQL Server server.
    Make sure the SQL Server instance have enable TCP/IP and Named Pipes protocols. Use the following article to enable them:
    http://msdn.microsoft.com/en-us/library/ms191294.aspx
    Start SQL Server Browser Service using SQL Server Configuration Manager.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Config of multiple SQL-Server databases without multiple gateways-possible?

    Hi Guys
    Can someone tell me if there's any way of connecting to different SQL Server databases (using Transparent Gateway) WITHOUT having to create multiple gateways?
    I have read in various sources that I MUST create one gateway per target database. I was contemplating a workaround such as creating a sysadmin SS user (and using these credentials in the db link) and trying to access any one of the databases within the SS instance. As I'm sure you know, you can query a SS database via a sysadmin user like:
    select * from my_db.dbo.my_table
    I realise it was a long shot to execute this from Oracle select * from my_db.dbo.my_table@my_dblink and yes....it didn't work.
    We have SS databases that are constantly dropped, recreated, renamed etc so we don't want to configure transparent gateway for a database only for it to be dropped 5 minutes later.
    Thanks in advance, Jon
    Edited by: user10240703 on 01-Oct-2009 03:07

    Thanks! I'm sure that's the fella...but things still progressing at snails pace.
    after (somehow) fixing the following ....
    ORA-02055: distributed update operation failed; rollback required
    ORA-02067: transaction or savepoint rollback required
    ora-1591 lock held in - doubt distributed transaction error
    I now get and can't get round the following error:
    PLS-00487: Invalid reference to variable 'REC1'
    Here's the simple code
    SQL Server
    alter procedure jontest as
    begin transaction
    select test from dbo.a
    commit
    Note: test is a varchar(50)
    PLSQL code
    create or replace package rcpackage is type RCTYPE is ref cursor;end rcpackage;
    declare
    rc1 rcpackage.rctype;
    rec1 varchar2(50);
    out_arg varchar2(255);
    begin
    rollback;
    out_arg := null;
    dbo.jontest@omg(rc1);
    fetch rc1 into rec1;
    dbms_output.put_line(rec1.test);
    close rc1;
    end;
    Note: as you can see, the sql server column and the rec1 are the same datatype so i've no idea why it doesn't like this. I've tried with different datatypes, integers etc with the same error. Any clue? Thanks,
    Getting there, but slowly :-)

  • Syncronize between multiple SQL server 2008 Databases

    II am developing an application for a waterborne shipping company. The main office is running SQL server 2008 and holds an employee database. They would like each ship to have access to the Db. Each ship is also running SQL 2008. In addition each ship will
    have multiple user needing update access to the Db.
    I'm not sure it is smart (or even Possible) to sync between multiple copies of a SQL Server 2008 DB. I started (and am not opposed to using .net Sync Services, creating compact edition (.sdf) files on the servers and 'sharing' it with the users. The
    problem with this is the sdf file would have to be replicated on each user machine. This would make data integrity a challenge.
    I should note that the ships are only occasionally connected to the internet, so working directly with the office db is not possible.
    Does anyone have any ideas, or shoud I resolve myself to using a shared copy of a compact edition of the DB?
    Thanks

    Merge replication han handle occasionally connected "devices". But you need to figure out whether update conflicts are acceptable and/or whether you can write your software so they don't happen in the first place.
    Tibor Karaszi, SQL Server MVP |
    web | blog
    Thanks. That gives me a starting point. I'm sure I'll have many questions.
    Thans again.

  • Running transactional replication on SQL server 2008R2 but: "The process could not connect to subscriber 'SERVER NAME'"

    I've set up Replication (transactional replication) between two remote servers. On the one of server that I configure Distribution & publication .another server is subscription. The subscription is all set & snapshot agent is started .but the actual
    replication doesn't take place.
    When viewing the Synchronization Status of the subscription, i get an error, saying "The process could not connect to Subscriber ‘Server name'."
    Clicking on start, this is the error message I get:
    The agent could not be started.
    Additional information:
    An exception while executing a Transact-SQL statement or batch.
    SQL Server Agent Error: Request to run job Server1-EDUSRV-Pubs-Server2-14 (from User Server1\Administrator) refused because the job is already running from a request by User sa.
    Change database context to 'EDUSRV'.(Microsoft SQL Server Error:22022)
    What can i do?
    Please help me.Thanks

    The error The process could not connect to Subscriber 'Server name' indicates that the Distribution Agent process account does not have enough permissions to connect to the Subscriber.
    If this is a push subscription, verify the Distribution Agent process account is db_owner in the distribution and subscription databases, is a member of the PAL, and has read permissions on the snapshot share.
    If this is a pull subscription, verify the Distribution Agent process account is db_owner in the subscription database, is a member of the PAL, and has read permissions on the snapshot share.
    The permissions required are covered in
    Replication Agent Security Model.
    If you have anymore questions, please let me know.  I hope this helps.
    Brandon Williams (blog |
    linkedin)

  • How do I view the transaction log in SQL Server 2008?

    Hello,
    I want to know how to view all the transactions taken during a particular period of time. I know there is a log file, ending with .ldf, created for each database. But how do I view this file?
    Is there any tool in the SQL Server studio that can enable me to view the transactions for a given time period?
    The reason for me wanting to view the log file is that, last week during a power outage, certain amount of data was not written. And one my friend had also messed up some of the data (unfortunately, she doesn't remember what she did).
    Thanks in advance.

    Hi,
     It enables you to read from you transaction log which contains very valuable information about stuff that is happening in your database.
    select
    * from fn_dblog (null,null) ..
    EXAMPLE:
    SELECT
    FROM
    ::fn_dblog(NULL, NULL)
    WHERE
    operation = 'LOP_DELETE_SPLIT'
    Thanks,
    Leks

  • Periodic Importing of data from SQL Server into Oracle Database

    I would like to know how I can use the SQL Developer tool to import data from a SQL Server database across the internet into an Oracle Database on a periodic basis? I understand there is a Migration Workbench, but it seems to be only a one off activity.
    What I would really like is to be able to import data for example, very 30 minutes from multiple tables/views in a SQL Server Database into an Oracle Database (overwriting or modifying existing same data) without the need for Heterogeneous Connectivity, as my Oracle Database is not my LAN.
    Thank you for your kind ideas and suggestions.

    To be honest the best way to do it is DG4ODBC or DG4MSQL. All other solutions need manual interaction.
    The gateways DG4ODBC and DG4MSQL are independant from the Oracle database and also from the SQL Server location. In a worst case scenario you have an Oracle database on machine A, the gateway on machine B and the SQL Server on machine C.
    Gateways were built to exactly do what you want. As you have access to the Oracle database the only part you need to define within the Oracle database is a db link. If you specify the full tns connect identifier there is even no need to edit the tnsnames.ora file.
    Even if you excluded the gateway in your last sentence the best solution would be the gateway.
    Another option you can use is the SQL Server linked server mechanism. It allows you to link another server using OLEDB driver. In your case you can then link the Oracle db into your SQL Server and then insert/update/delete and select Oracle tables from the SQL Server. Using now a trigger will replicate the data immediately to the Oracle db.

Maybe you are looking for