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

SYSCOLSTATS consolidated view Next Page

SYSCOLUMNS consolidated view

Each row in the SYSCOLUMNS view describes one column of each table and view in the catalog.

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"."SYSCOLUMNS"( creator,cname,tname,coltype,nulls,length,
  as select up.user_name,col.column_name,tab.table_name,dom.domain_name,
    col."default",col.column_type,col.remarks from
    SYS.SYSCOLUMN as col join
    SYS.SYSTABLE as tab on(tab.table_id = col.table_id) key join
    SYS.SYSDOMAIN as dom join
    SYS.SYSUSERPERM as up on up.user_id = tab.creator
See also