ITPub博客

首页 > 数据库 > Oracle > Oracle 11G Virtual Columns

Oracle 11G Virtual Columns

原创 Oracle 作者:guocun09 时间:2017-10-26 11:59:06 0 删除 编辑

Virtual Columns

Virtual columns are defined by evaluating an expression the results of which become the metadata of the columns for tables. Virtual columns can be defined at table creation or modification time.

Virtual columns enable application developers to define computations and transformations as the column (metadata) definition of tables without space consumption. This makes application development easier and less error-prone, as well as enhances query optimization by providing additional statistics to the optimizer for these virtual columns.

 

CREATE TABLE GC.VIRTUAL_COL

(NO NUMBER,

NAME VARCHAR2(10),

NO_NAME AS (NO||NAME)

)

 

 

 

 

 

 

 

 

 

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/25583515/viewspace-2146426/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: Oracle 11G EM建立
请登录后发表评论 登录
全部评论
DBA,掌握Oracle,SQLServer,MySQL,hadoop,casscandra等数据库。喜爱深入研究数据库技术原理,擅长管理和优化工作。

注册时间:2011-10-02

  • 博文量
    177
  • 访问量
    686671