encyclopegia.org

Virtual column

In relational databases a virtual column is a table column whose value(s) is automatically computed using other columns values, or another deterministic expression. Virtual columns are defined of SQL:2003 as Generated Column, and are only implemented by some DBMSs, like MariaDB, SQL Server, Oracle, PostgreSQL, SQLite and Firebird (database server) (COMPUTED BY syntax).

In relational databases a virtual column is a table column whose value(s) is automatically computed using other columns values, or another deterministic expression. Virtual columns are defined of SQL:2003 as Generated Column, and are only implemented by some DBMSs, like MariaDB, SQL Server, Oracle, PostgreSQL, SQLite and Firebird (database server) (COMPUTED BY syntax). [GENERATED ALWAYS] AS ( ) [VIRTUAL | PERSISTENT] [UNIQUE] [UNIQUE KEY] [COMMENT ] type is the column's data type expression is the SQL expression which returns the column's value for each row text is an optional column comment column_name [type] COMPUTED BY (expression) or the industry standard column_name [type] GENERATED ALWAYS AS (expression) ==References== Computed Columns in SQL Server 2008

References

No reference rows published for this article.

Cite this article

MLA

"Virtual column." encyclopegia.org, 2026, https://encyclopegia.org/wiki/virtual-column. Accessed 24 November 2026.

Chicago

"Virtual column." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/virtual-column.

APA

encyclopegia.org. (2026). Virtual column. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/virtual-column

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

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1335033076 · 0.5 · snapshot enwiki-001335033076

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.