Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
coolerbob
Aged Yak Warrior
841 Posts |
Posted - 2005-05-03 : 13:31:13
|
| I have this problem:http://support.microsoft.com/default.aspx?scid=kb;en-us;Q269426But I dont have this problem in a select. I have it in an update. So a union of a left and right join cant be used to solve the problem.Can anyone help?UPDATE CSET C.varchar4000Col = EC.TextCol FROM CINNER JOIN linkserver.mydb.dbo.CC ON CC.CO_ID = C.CO_IDINNER JOIN linkserver.mydb.dbo.EC on EC.ID = CC.EC_IDWHERE C.CO_ID is not nulland cc.number = 0 |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2005-05-03 : 16:01:54
|
| I would say the problem lies in using the linked server. If you copy the linked server tables to local tables and rewrite the join to use the local tables, you may fix the problem. |
 |
|
|
coolerbob
Aged Yak Warrior
841 Posts |
Posted - 2005-05-04 : 06:04:40
|
| that worked, thanks! |
 |
|
|
|
|
|