DEFINITIONS

Definitions More Info.
Definition ID977
TitleSQL
CategoryNOTES
Definitionauto created statistics
Definition Descriptionhttps://www.sqlshack.com/sql-server-statistics-and-how-to-perform-update-statistics-in-sql/

SELECT sp.stats_id,
name,
filter_definition,
last_updated,
rows,
rows_sampled,
steps,
unfiltered_rows,
modification_counter
FROM sys.stats AS stat
CROSS APPLY sys.dm_db_stats_properties(stat.object_id, stat.stats_id) AS sp
WHERE stat.object_id = OBJECT_ID('HumanResources.Employee')
and name like '_WA%';
RecordBycunay
Record Date12-09-2019 00:32:17
Düzenle
Kopyala
Sil