select * ,0.00 "testcolumn", null "testcolumn2" into test from test1
我想这样在test表里增加几个字段,但直接这样增加的话,testcolumn列产生的将是不能为空的属性,我想要他能为空,而我用null "testcolumn2"方式的话,他默认产生的又是int类型。请问如何让增加的列既能为空,又能为float类型!谢谢了,在线等待!
...全文
1274打赏收藏
急。。。。有关select into 的问题,在线等待
select * ,0.00 "testcolumn", null "testcolumn2" into test from test1 我想这样在test表里增加几个字段,但直接这样增加的话,testcolumn列产生的将是不能为空的属性,我想要他能为空,而我用null "testcolumn2"方式的话,他默认产生的又是int类型。请问如何让增加的列既能为空,又能为float类型!谢谢了,在线等待!