Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Can you please give me a simple example on "Distributed Transaction" in SQL Server 2000 ?

Posted on 2006-11-25
1
164 Views
Last Modified: 2012-08-14
Can you please give me a simple example on "Distributed Transaction" in SQL Server 2000 ? Think that i am using SQL Server 2000 as one server and MS Access 2003 as another server !!

So there are 2 database servers:

1. SQL Server 2000
2. MS Access 2003

So i want to do "Distributed Transaction" right now by taking table on each of them.


0
Comment
Question by:kishore_peddi
1 Comment
 
LVL 28

Accepted Solution

by:
imran_fast earned 500 total points
ID: 18013681
Create link server on sql 2000 for ms access 2003 database. and name it say LInkedAccess2003
Start MS DTC on both servers

Now begin a transaction

Example inserting records in remote server from local

BEGIN DISTRIBUTED TRANSACTION
insert into openquery ( LInkedAccess2003, 'select employee_no, Name from employees where 1=0')
select emp_no , emp_full_name from employees
COMMIT TRAN
GO
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question