提交 d4ce176e authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Move some tests

上级 e0ffeed0
...@@ -14,3 +14,6 @@ select rtrim(null) en, '>' || rtrim('a') || '<' ea, '>' || rtrim(' a ') || '<' e ...@@ -14,3 +14,6 @@ select rtrim(null) en, '>' || rtrim('a') || '<' ea, '>' || rtrim(' a ') || '<' e
> ---- --- ---- > ---- --- ----
> null >a< > a< > null >a< > a<
> rows: 1 > rows: 1
select rtrim() from dual;
> exception INVALID_PARAMETER_COUNT_2
...@@ -23,3 +23,9 @@ SELECT TRIM(BOTH B) FROM TEST; ...@@ -23,3 +23,9 @@ SELECT TRIM(BOTH B) FROM TEST;
DROP TABLE TEST; DROP TABLE TEST;
> ok > ok
select TRIM(' ' FROM ' abc ') from dual;
> 'abc'
> -----
> abc
> rows: 1
...@@ -1259,9 +1259,6 @@ select * from test; ...@@ -1259,9 +1259,6 @@ select * from test;
drop table test; drop table test;
> ok > ok
select rtrim() from dual;
> exception INVALID_PARAMETER_COUNT_2
CREATE TABLE TEST(ID INT PRIMARY KEY, LABEL CHAR(20), LOOKUP CHAR(30)); CREATE TABLE TEST(ID INT PRIMARY KEY, LABEL CHAR(20), LOOKUP CHAR(30));
> ok > ok
...@@ -3271,12 +3268,6 @@ select (select id from test where 1=0) from test; ...@@ -3271,12 +3268,6 @@ select (select id from test where 1=0) from test;
drop table test; drop table test;
> ok > ok
select TRIM(' ' FROM ' abc ') from dual;
> 'abc'
> -----
> abc
> rows: 1
create table test(id int primary key, a boolean); create table test(id int primary key, a boolean);
> ok > ok
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论