Entering content frame

Procedure documentation sql_updatestat Locate the document in the library structure

Use

You update the statistics for the SQL Optimizer.

You can update all the statistics or restrict the update function to a set of statistics using a table or column specification.

See also:

Concepts of the Database System, Structure linkSQL Optimizer

Prerequisites

      You have the server authorization AccessSQL.

      You have opened a database session (see: db_connect).

Syntax

sql_updatestat [<table_or_column_spec>]

<table_or_column_spec>

Table or column specification

for possible arguments and keywords see: SQL Reference Manual, Structure linkUPDATE STATISTICS Statement (update_statistics_statement)

Reply

OK

In the event of errors, see Reply Format.

 

Leaving content frame