Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update Command Help
Message
From
31/08/2005 09:25:00
Keith Payne
Technical Marketing Solutions
Florida, United States
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
01045451
Message ID:
01045454
Views:
30
This message has been marked as the solution to the initial question of the thread.
UPDATE coSuper2
	SET PrefGroupID = 90
FROM coSuper2 s2
	inner join coInv i
		on i.InvID = s2.InvID
WHERE i.PrimeDesc LIKE '%SUTURE%'
.

>I'm hoping someone can help structure this command to it actually works, below is what I was thinking,but it causes a sytax error.
>
>Thanks for anyhelp
>
>
>update coSuper2 set coSuper2.PrefGroupID=90 where
>(select coSuper2.invid, coinv.PrimeDesc,coSuper2.PrefGroupID
>from coSuper2 inner join
>coInv on coSuper2.InvID=coInv.InvID
>where coinv.primedesc like '%SUTURE%')
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform