Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 5123

What is the performance impact of updating fixlength non indexed field vs var length field

$
0
0

Does an update in place occur if an update only affects a fixlenth field?

create table ages ( Id integer, age integer);

insert into ages values ( 0, 20);

insert into ages values ( 1,40);

---  does a the row get removed from the data page and then re added 

-- or does the value of just  age change

update ages set age = 42 where Id = 1;  

????  and is there any doc that explains what happens


Howard Davis


Viewing all articles
Browse latest Browse all 5123

Trending Articles



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