I try to update a table on a linked server but i receive the following error The table 'shop500.shopping500tp.thysinterieur.categories' is ambiguous.
This is the instruction
update [shop500].shopping500tp.thysinterieur.categories
set highercategoryid=C2.categoryid
from [shop500].shopping500tp.thysinterieur.categories tshop, [shop500].shopping500tp.thysinterieur.categories C2
where left(tshop.CATEXTRA,len(tshop.CATEXTRA)-1)=C2.CATEXTRA
and len(tshop.CATEXTRA)>2
There are no triggers
How can i solve this problem ?
TX
Stanja
This is the instruction
update [shop500].shopping500tp.thysinterieur.categories
set highercategoryid=C2.categoryid
from [shop500].shopping500tp.thysinterieur.categories tshop, [shop500].shopping500tp.thysinterieur.categories C2
where left(tshop.CATEXTRA,len(tshop.CATEXTRA)-1)=C2.CATEXTRA
and len(tshop.CATEXTRA)>2
There are no triggers
How can i solve this problem ?
TX
Stanja