提问:GBase8s虚拟列与oracle虚拟列有什么差异?
@font-face{ font-family:"Times New Roman"; } @font-face{ font-family:"宋体"; } @font-face{ font-family:"Calibri"; } @list l0:level1{ mso-level-number-format:decimal; mso-level-suffix:space; mso-level-text:"%1."; mso-level-tab-stop:none; mso-level-number-position:left; margin-left:0.0000pt; text-indent:0.0000pt; font-family:'Times New Roman';} p.MsoNormal{ mso-style-name:正文; mso-style-parent:""; margin:0pt; margin-bottom:.0001pt; mso-pagination:none; text-align:justify; text-justify:inter-ideograph; font-family:Calibri; mso-fareast-font-family:宋体; mso-bidi-font-family:'Times New Roman'; font-size:10.5000pt; mso-font-kerning:1.0000pt; } span.msoIns{ mso-style-type:export-only; mso-style-name:""; text-decoration:underline; text-underline:single; color:blue; } span.msoDel{ mso-style-type:export-only; mso-style-name:""; text-decoration:line-through; color:red; } @page{mso-page-border-surround-header:no; mso-page-border-surround-footer:no;}@page Section0{ } div.Section0{page:Section0;}
回答:GBase8s虚拟列与oracle虚拟列的差异主要有以下几点:
1. GBase8s支持修改虚拟列数据类型,Oracle 不支持。
2. GBase8s支持列表达式为单列,即:create table t1 (id int,vid as(id)),oracle不支持。
3. GBase8s支持 SYSDATE 作为列表达式, Oracle 不支持。
4. GBase8s支持 SYS_GUID() 作为列表达式,Oracle 不支持。
5. Oracle 支持虚拟列主外键、UNIQUE约束、索引。8s 不支持。
6. Oracle 支持 CREATE AS SELECT 虚拟列语法,创建完成的表的列为普通列。目前 8s 不支持。
评论
有用 0
墨值悬赏

