Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Oracle 23ai's DDL DOMAIN type reference syntax <base-type> DOMAIN <domain-name> #16645

Open
lukaseder opened this issue May 6, 2024 · 0 comments

Comments

@lukaseder
Copy link
Member

This is legal syntax in Oracle:

create domain x as int;
create table t (x int domain x); -- Explicit syntax here

The purpose is probably to override the domain's base type, e.g.

create domain x as number(3);
create table t (x number(4) domain x);

It's not unlikely that other RDBMS also support such a syntax, given that a domain can be used also to inherit CHECK constraints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant