Hi,
when using the MSSQL profiler I can see page writes caused by an SELECT Statement.
How is this possible?
This statements causes alot of 6.8 million reads , 17 thousand writes and returns 4 rows.
Why are there writes?
SELECTsum(CASE
WHEN(c.STATE= 2)
THEN 1
ELSE 0
END)AS XXX
,c.XXXXX AS
xxxxxxxxxxxxxx
FROM xx c
WHERE c.xxx= 0
GROUPBY c.xxx
Thanks
Stefan