系统特性 本页介绍天翼云TeleDB数据库Oracle语法的系统特性。 dual teledb select 1 as f1 from dual; f1 1 (1 row) teledb rowid 需要设置配置项defaultwithrowid为on teledb create table trowid(f1 int,f2 int); CREATE TABLE teledb insert into trowid values(1,1); INSERT 0 1 teledb select rowid,f1,f2 from trowid; rowid f1 f2 ++ XPK3fwAQAAAAAAAAA 1 1 (1 row) rownum teledb create table trownum(f1 int,f2 int); CREATE TABLE teledb insert into trownum values(1,1); INSERT 0 1 teledb insert into trownum values(2,2); INSERT 0 1 teledb insert into trownum values(3,3); INSERT 0 1 teledb insert into trownum values(4,4); INSERT 0 1 teledb insert into trownum values(5,5); INSERT 0 1 teledb select rownum, from trownum; rownum f1 f2 ++ 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5 (5 rows) teledb select rownum, from trownum where rownum<3; rownum f1 f2 ++ 1 1 1 2 2 2 (2 rows) teledb sysdate teledb select sysdate from dual; orclsysdate 20230824 14:30:07.260456 (1 row) teledb