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

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - SQL 参考 » 系统对象 » 视图 » 兼容性视图

 

SYSINFO 兼容性视图(不建议使用)

SYSINFO 视图指出了创建数据库时定义的数据库特性。它始终只有一行。该视图可通过内置函数来获得且不是保存在目录中。以下是 SYSINFO 视图的定义:

ALTER VIEW "SYS"."SYSINFO"( page_size,
  encryption,
  blank_padding,
  case_sensitivity,
  default_collation,
  database_version ) 
  as select db_property('PageSize'),
    if db_property('Encryption') <> 'None' then 'Y' else 'N' endif,
    if db_property('BlankPadding') = 'On' then 'Y' else 'N' endif,
    if db_property('CaseSensitive') = 'On' then 'Y' else 'N' endif,
    db_property('Collation'),
    null;
另请参见