Quantcast
Channel: MySQL Forums - InnoDB
Viewing all articles
Browse latest Browse all 1954

Update... WHERE not same result as SELECT (4 replies)

$
0
0
Hi,

When I execute the following SQL I get a result of 1 record found
select COUNT(*) FROM T_Porte
WHERE Territoire=10 and Rue='Ch Clément N' and Ville='St-Justin' and Porte=990 and Appartement='';

When I execute the following SQL I get a result of 0 record change
UPDATE T_Porte
SET Commerce = '0', CAMLM = '0', TerCom = Null, Fictif = '0'
WHERE Territoire=10 and Rue='Ch Clément N' and Ville='St-Justin' and Porte=990 and Appartement='';

Please remark that the WHERE clause is exactly the same.

Why I do not have the same result ?

Thank you,

Christian

P.S:. I may post screen shot but I don't know how...

Viewing all articles
Browse latest Browse all 1954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>