我可以在哪里找到 ANSI SQL 2003 关于 INFORMATION_SCHEMA 的规范?Where can I find the ANSI SQL 2003 specification for
INFORMATION_SCHEMA?
不幸的是,官方规范并非免费提供。(ANSI 提供购买方式。)然而,有一些书籍可以参考,例如 Peter Gulutzan 和 Trudy Pelzer 的 SQL-99 Complete, Really,其中提供了对标准的全面概述,包括 INFORMATION_SCHEMA。Unfortunately, the official specifications are not freely
available. (ANSI makes them available for purchase.) However,
there are books available, such as SQL-99 Complete,
Really by Peter Gulutzan and Trudy Pelzer, that
provide a comprehensive overview of the standard, including
INFORMATION_SCHEMA.
A.7.4.
Oracle 数据字典和 MySQL INFORMATION_SCHEMA 有什么区别?What is the difference between the Oracle Data Dictionary and
MySQL INFORMATION_SCHEMA?
Oracle 和 MySQL 都通过表提供元数据。然而,Oracle 和 MySQL 使用不同的表名和列名。MySQL 的实现更类似于 DB2 和 SQL Server 中的实现,这些系统也支持 SQL 标准定义的 INFORMATION_SCHEMA。Both Oracle and MySQL provide metadata in tables. However,
Oracle and MySQL use different table names and column names. The
MySQL implementation is more similar to those found in DB2 and
SQL Server, which also support
INFORMATION_SCHEMA as defined in the SQL
standard.
A.7.5.
我可以添加或以其他方式修改 INFORMATION_SCHEMA 数据库中的表吗?Can I add to or otherwise modify the tables found in the
INFORMATION_SCHEMA database?
不可以。由于应用程序可能依赖于某种标准结构,因此不应修改这些表。基于这个原因,我们无法支持因修改 INFORMATION_SCHEMA 表或数据而导致的错误或其他问题。No. Since applications may rely on a certain standard structure,
this should not be modified. For this reason, we
cannot support bugs or other issues which result from modifying
INFORMATION_SCHEMA tables or data.