SQL在apache derby中创建域

时间:2013-02-18 01:01:18

标签: sql derby

所以我正在尝试在Apache derby中创建一个基本域,我很确定我的语法正确,因为我已经引用了关于这个主题的多个文档。这是我输入的内容

create domain Weight float not null check (weight >=5 or <= 10);`

我基本上都尝试过了;

create domain Weight float

Apache Derby有什么我遗漏的东西,我收到了这个错误:

ERROR 42X01: Syntax error: Encountered "domain" at line 1, column 8.

任何想法为什么它给我这个错误,我认为在德比中可能有不同的语法,但我不确定。

0 个答案:

没有答案