开发者

SQL Anywhere 12 Problem with sentence CREATE DOMAIN

This produce an syntax ERROR:-13开发者_如何学编程1.

CREATE DOMAIN dom CHAR(35);

Anyone knows why?

Thank you!


Try this:

CREATE DOMAIN "dom" CHAR(35);

Perhaps dom is a keyword. Or - more probably - there already exists something named dom. Did you run the command twice?

If yes, the first time you run it, it created the domain "dom". The second time, it's typical to "answer" that you can't create another domain with the same name, using the obvious error code of -131 .

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜