Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

update [Table of Contents] update partition statistics

Reference Manual: Commands

[-] Chapter 1 Commands
[-] update all statistics

update all statistics

Description

Updates all statistics information for a given table.

Syntax

update all statistics table_name

Parameters

table_name

is the name of the table for which statistics are being updated.

Examples

Example 1

Updates index and partition statistics for the salesdetail table:

update all statistics salesdetail

Usage

Standards

ANSI SQL - Compliance level: Transact-SQL extension.

Permissions

update all statistics permission defaults to the table owner and is not transferrable.

See also

Commands - update statistics, update partition statistics


update [Table of Contents] update partition statistics