SQL Server - inner join when updating

<>

This question already has an answer here:

Answers


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';

This should do it:

UPDATE ProductReviews
SET    ProductReviews.status = '0'
FROM   ProductReviews
       INNER JOIN products
         ON ProductReviews.pid = products.id
WHERE  ProductReviews.id = '17190'
       AND products.shopkeeper = '89137'

Need Your Help

Missing buttons on AlertDialog | Android 7.0 (Nexus 5x)

android button android-alertdialog invisible android-7.0-nougat

I am trying to create an AlertDialog but the buttons are not showing. Only seeing this issue in Android 7.0:

How to fix PHP Warning: PHP Startup: Unable to load dynamic library 'ext\\php_curl.dll'?

php apache dll

I currently have PHP 5.5.12 and Apache 2.4 installed on Windows Server 2008 R2. Everything is running perfectly with no issue/warnings.