Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Update causing lots of rows to be affected

$
0
0

My update looks like this.  I have a clustered index on adid on the txtad table, so I thought this would affect only a single row.  Instead it takes a while to come back and gives the message below..

update txtad set filelocation ='http://image.homedepotemail.com/lib/fe6b1570746006757114/m/10/THDC157_2.01.jpg'
where adid =80563

(10626 row(s) affected)

(10626 row(s) affected)

(1 row(s) affected)

Why is this update affecting 10626 rows?


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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