开发者

SQL Anywhere 12 Problem with sentence CREATE DOMAIN

开发者 https://www.devze.com 2023-02-14 06:23 出处:网络
This produce an syntax ERROR:-13开发者_如何学编程1. CREATE DOMAIN dom CHAR(35); Anyone knows why?

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

精彩评论

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