提交 2e6c30d6 authored 作者: Thomas Mueller's avatar Thomas Mueller

Oracle compatibility: old style outer join syntax using (+) did work correctly sometimes.

上级 31e61a1b
CREATE TABLE Address (id NUMBER NOT NULL, city VARCHAR2(255), PRIMARY KEY (id));
CREATE TABLE Person (id NUMBER NOT NULL, name VARCHAR2(255), ADDRESS_ID NUMBER, PRIMARY KEY (id));
INSERT INTO PERSON (id, name) values (1, 'Frank');
SELECT 1 FROM Person t0, Address t1, Person t2 WHERE t0.ADDRESS_ID = t1.id(+) AND t1.id = t2.ADDRESS_ID(+);
> 1;
drop table Address, Person;
create domain email as varchar comment 'e-mail'; create domain email as varchar comment 'e-mail';
create table test(e email); create table test(e email);
select remarks from INFORMATION_SCHEMA.COLUMNS where table_name='TEST'; select remarks from INFORMATION_SCHEMA.COLUMNS where table_name='TEST';
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论