落伍者站长论坛's Archiver

阿帕奇 发表于 2008-6-22 11:26

谁对MSSQL了解的进来帮下忙.谢谢

nvarchar 数据类型 允许空.加入数据后想为空字符而不是Null 请问应该怎么设置

K 发表于 2008-6-22 11:28

字段的默认属性设置成() 试试

阿帕奇 发表于 2008-6-22 11:45

还是不行.前台留空提交数据的话还是NULL

颜诺 发表于 2008-6-22 11:54

默认值 = ''

6599 发表于 2008-6-22 12:14

呵呵

阿帕奇 发表于 2008-6-22 12:49

[quote]原帖由 [i]颜诺[/i] 于 2008-6-22 11:54 发表 [url=http://www.im286.com/redirect.php?goto=findpost&pid=27149660&ptid=2680099][img]http://www.im286.com/images/common/back.gif[/img][/url]
默认值 = '' [/quote]
试过了~.还是一样~

googhu 发表于 2008-6-22 14:42

呵呵,mysql的空字符默认就是null,怎么改?改源码去~~

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.