Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

update with inner join sql server

UPDATE R 
SET R.status = '0' 
FROM dbo.ProductReviews AS R
INNER JOIN dbo.products AS P 
       ON R.pid = P.id 
WHERE R.id = '17190' 
  AND P.shopkeeper = '89137';
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #update #join #sql #server
ADD COMMENT
Topic
Name
1+8 =