EnumLastStatisticsUpdates List

SQLServer.Database.Table Object

Description

Lists the dates that the indexes on this table were last updated. List is returned in a QueryResults object.

Visual Basic

QueryResults = Table.EnumLastStatisticsUpdates ( [[IndexName :=] idIndex] )

C++

HRESULT pTable->EnumLastStatisticsUpdates (
LPSQLOLEQUERYRESULTS*
ppQueryResults,
SQLOLE_LPCSTR
idIndex = NULL );

Elements

Element Type Description

QueryResults QueryResults Returned QueryResults object.
idIndex Identifier Index. The default is all indexes on the table.

QueryResults

ColumnName ColumnType

name SQLOLE_DTypeChar
last update SQLOLE_DTypeDateTime

Reference

STATS_DATE