Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

update with inner join sql server

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