Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - SQL Reference » Views » Consolidated views

SYSCOLAUTH consolidated view Next Page

SYSCOLSTATS consolidated view


The SYSCOLSTATS view contains the column statistics that are stored as histograms and used by the optimizer.

The tables and columns that make up this view are provided in the SQL statement below. To learn more about a particular table or column, use the links provided beneath the view definition.

ALTER VIEW "SYS"."SYSCOLSTATS"
  as select u.user_name,t.table_name,c.column_name,
    s.format_id,s.update_time,s.density,s.max_steps,
    s.actual_steps,s.step_values,s.frequencies from
    SYS.SYSCOLSTAT as s,SYS.SYSTABLE as t,SYS.SYSCOLUMN as c,SYS.SYSUSERPERM as u where
    s.table_id = c.table_id and
    s.column_id = c.column_id and
    c.table_id = t.table_id and
    t.creator = u.user_id
See also