Xbasic
SQL::TableInfoUpdateStatistics Method
Syntax
Result_Flag as L = UpdateStatistics(P Connection)
Arguments
- Result_Flag
Indicates whether the operation was successful.
- SQL::TableInfo
A SQL::TableInfo object.
- Connection
A SQL::Connection object.
Description
Gather statistical information about the actual table.
Discussion
The UpdateStatistics() method gathers information on the table for the specified connection. A successful call to UpdateStatistics()will set the LastKnownRowCount property and the MaximumActualLength (for character and binary columns) property for each DataTypeInfo(Column).
Limitations
Desktop applications only.
See Also