不行也。。。
所在版块:求学狮城 发贴时间:2004-09-28 19:13

用户信息
复制本帖HTML代码
高亮: 今天贴 X 昨天贴 X 前天贴 X 
i use: ALTER TABLE t CHANGE a a numeric(20);

got error: All parts of a PRIMARY KEY must be NOT NULL; If you need NULL in a key, use UNIQUE instead..

why? is it because the field 'a' is a primary key?
.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!

 相关帖子 我要回复↙ ↗回到正文
in mysql... 小蹦   (103 bytes , 575reads )
小蹦请进 我行故我   (481 bytes , 519reads )
不行也。。。 小蹦   (204 bytes , 296reads )
Why there are two a's there? Flying   (19 bytes , 276reads )
how come this error appear,... 我行故我   (80 bytes , 277reads )
没有啊。。。 小蹦   (33 bytes , 267reads )
then you drop that table and re-design it carefully lah MrDJay   (0 bytes , 299reads )