encyclopegia.org

Information schema

In relational databases, the information schema ( ) is an ANSI-standard set of read-only views that provide information about all of the tables, views, columns, and procedures in a database.[src] It can be used as a source of the information that some databases make available through non-standard commands, such as: * the SHOW command of MySQL * the DESCRIBE command of Oracle's SQL*Plus * the \d command in psql (PostgreSQL's default command-line program).[src] => SELECT count(table_name) FROM information_schema.tables; count ------- 99 (1 row) => SELECT column_name, data_type, column_default, is_nullable FROM information_schema.columns WHERE table_name='alpha'; column_name | data_type | column_default | is_nullable -------------+-----------+----------------+------------- foo | integer | | YES bar | character | | YES (2 rows) => SELECT * FROM information_schema.information_schema_catalog_name; catalog_name -------------- johnd (1 row)[src]

In relational databases, the information schema ( ) is an ANSI-standard set of read-only views that provide information about all of the tables, views, columns, and procedures in a database.[src] It can be used as a source of the information that some databases make available through non-standard commands, such as: the SHOW command of MySQL the DESCRIBE command of Oracle's SQL*Plus the \d command in psql (PostgreSQL's default command-line program).[src] FROM information_schema.columns WHERE table_name='alpha'; column_name | data_type | column_default | is_nullable -------------+-----------+----------------+------------- foo | integer | | YES bar | character | | YES (2 rows) => SELECT * FROM information_schema.information_schema_catalog_name; catalog_name -------------- johnd (1 row)[src]

6 sentences · 6 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Information schema." encyclopegia.org, 2026, https://encyclopegia.org/wiki/information-schema. Accessed 26 November 2026.

Chicago

"Information schema." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/information-schema.

APA

encyclopegia.org. (2026). Information schema. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/information-schema

Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Internet Information Services

stub · references available

XML Schema

stub · references available

management information system

stub · references available

Institute for Information Industry

stub · references available

Financial Information Authority

stub · references available

freedom of information laws by country

stub · references available

selective dissemination of information

stub · references available

dynamic passenger information

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1357522697 · 0.5 · snapshot enwiki-001357522697

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.