Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
报告数据库属性信息。
sa_db_properties( [ dbidparm ] )
dbidparm 使用此可选的 INTEGER 参数指定数据库 ID 号。
如果指定数据库 ID,则 sa_db_properties 系统过程返回数据库 ID 号和每个可用数据库属性的 PropNum、PropName、PropDescription 和 Value。返回所有数据库属性和与数据库相关的统计信息的值。同时返回具有 NULL 值的有效属性。
如果未指定 dbidparm,则返回所有数据库的属性。
云注意事项: 由于租户数据库的隔离规则,当在云中运行此系统过程时,仅会返回关于当前租户数据库的信息。
无
以下示例使用 sa_db_properties 系统过程为所有数据库返回一个汇总数据库属性信息的结果集。
CALL sa_db_properties( );