I have a table with an Identity Id column.
When I execute:
select max(Id) from Table
SQL Server performs table scans and thread aggregation.
My question is, why can't he just look for the last value assigned by Id? This is a identity , so you need to track information, right?
Can I view it manually?
sql sql-server sql-server-2008
Blorgbeard
source share