Click here to Skip to main content
15,886,773 members
Home / Discussions / Database
   

Database

 
QuestionLEFT JOIN - GET ONLY ONE RESULT FROM RIGHT TABLE Pin
polishprogrammer13-Oct-08 7:05
polishprogrammer13-Oct-08 7:05 
AnswerRe: LEFT JOIN - GET ONLY ONE RESULT FROM RIGHT TABLE Pin
Wendelius13-Oct-08 7:36
mentorWendelius13-Oct-08 7:36 
GeneralRe: LEFT JOIN - GET ONLY ONE RESULT FROM RIGHT TABLE Pin
polishprogrammer13-Oct-08 11:01
polishprogrammer13-Oct-08 11:01 
GeneralRe: LEFT JOIN - GET ONLY ONE RESULT FROM RIGHT TABLE Pin
Wendelius13-Oct-08 18:12
mentorWendelius13-Oct-08 18:12 
GeneralRe: LEFT JOIN - GET ONLY ONE RESULT FROM RIGHT TABLE Pin
polishprogrammer14-Oct-08 3:38
polishprogrammer14-Oct-08 3:38 
GeneralRe: LEFT JOIN - GET ONLY ONE RESULT FROM RIGHT TABLE Pin
Wendelius14-Oct-08 5:02
mentorWendelius14-Oct-08 5:02 
GeneralRe: LEFT JOIN - GET ONLY ONE RESULT FROM RIGHT TABLE Pin
polishprogrammer15-Oct-08 7:16
polishprogrammer15-Oct-08 7:16 
QuestionMS DTC has cancelled the transaction [modified] Pin
moon_stick13-Oct-08 5:10
moon_stick13-Oct-08 5:10 
I've got a stored procedure running across 2 servers which either inserts or updates multiple rows of data into a series of tables from a single source table. I've run into a problem where, if the source table doesn't contain a record for a given ID, MS DTC throws an exception and bombs out of the transaction. e.g.

<br />
UPDATE MyTable<br />
SET p.Column1 = pm.Column1<br />
FROM<br />
Property p<br />
inner join Address a<br />
on p.PropertyRef = a.PropertyRef<br />
inner join remotedb.PropertyMaster pm<br />
on pm.PropertyRef = p.PropertyRef<br />


errors with 'The Microsoft Distributed Transaction Coordinator (MS DTC) has cancelled the distributed transaction.'. Has anyone encountered this - and ideally know of a solution / workaround?

TIA

Dave

It definitely isn't definatley

modified on Monday, October 13, 2008 12:02 PM

AnswerRe: MS DTC has cancelled the transaction Pin
Wendelius13-Oct-08 5:50
mentorWendelius13-Oct-08 5:50 
GeneralRe: MS DTC has cancelled the transaction [modified] Pin
moon_stick13-Oct-08 6:07
moon_stick13-Oct-08 6:07 
GeneralRe: MS DTC has cancelled the transaction Pin
Wendelius13-Oct-08 7:20
mentorWendelius13-Oct-08 7:20 
GeneralRe: MS DTC has cancelled the transaction Pin
moon_stick13-Oct-08 9:24
moon_stick13-Oct-08 9:24 
GeneralRe: MS DTC has cancelled the transaction Pin
Wendelius13-Oct-08 9:35
mentorWendelius13-Oct-08 9:35 
GeneralRe: MS DTC has cancelled the transaction Pin
moon_stick15-Oct-08 23:24
moon_stick15-Oct-08 23:24 
GeneralRe: MS DTC has cancelled the transaction Pin
Wendelius16-Oct-08 8:42
mentorWendelius16-Oct-08 8:42 
QuestionSql Pin
Rajeesrivastava12-Oct-08 21:25
Rajeesrivastava12-Oct-08 21:25 
AnswerRe: Sql - 3RD POST!!!!!!!!!!!!!!!!! Pin
Ashfield12-Oct-08 22:12
Ashfield12-Oct-08 22:12 
GeneralRe: Sql - 3RD POST!!!!!!!!!!!!!!!!! Pin
Paul Conrad13-Oct-08 12:51
professionalPaul Conrad13-Oct-08 12:51 
QuestionHow to solve the error "The query builder failed." Pin
kyi kyi12-Oct-08 21:23
kyi kyi12-Oct-08 21:23 
AnswerRe: How to solve the error "The query builder failed." Pin
kyi kyi12-Oct-08 21:32
kyi kyi12-Oct-08 21:32 
AnswerRe: How to solve the error "The query builder failed." Pin
Wendelius13-Oct-08 5:56
mentorWendelius13-Oct-08 5:56 
QuestionSQL Triggers... Pin
Illegal Operation12-Oct-08 19:33
Illegal Operation12-Oct-08 19:33 
AnswerRe: SQL Triggers... Pin
Mycroft Holmes12-Oct-08 20:27
professionalMycroft Holmes12-Oct-08 20:27 
GeneralRe: SQL Triggers... Pin
Illegal Operation13-Oct-08 16:14
Illegal Operation13-Oct-08 16:14 
GeneralRe: SQL Triggers... Pin
Mycroft Holmes13-Oct-08 16:58
professionalMycroft Holmes13-Oct-08 16:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.