Blank default values for varchar field
-
Hi I want to use a blank (empty string but not null) as a default value for varchar column in SQL server 2000. Is this possible and if it is, how do I do it (in Enterprise Manager if possible)? Just so that I don’t get a lot of why do you want to do that answers. The underlying data access layer I use need blank values or it won’t create a correct xml files. Thanks Johan
-
Hi I want to use a blank (empty string but not null) as a default value for varchar column in SQL server 2000. Is this possible and if it is, how do I do it (in Enterprise Manager if possible)? Just so that I don’t get a lot of why do you want to do that answers. The underlying data access layer I use need blank values or it won’t create a correct xml files. Thanks Johan
-
Hi I want to use a blank (empty string but not null) as a default value for varchar column in SQL server 2000. Is this possible and if it is, how do I do it (in Enterprise Manager if possible)? Just so that I don’t get a lot of why do you want to do that answers. The underlying data access layer I use need blank values or it won’t create a correct xml files. Thanks Johan
hertz_j wrote:
in Enterprise Manager if possible)
In the Columns Property Page put
SPACE(0)
as the Default Value. ---------- There go my people. I must find out where they are going so I can lead them. - Alexander Ledru-Rollin -
hertz_j wrote:
in Enterprise Manager if possible)
In the Columns Property Page put
SPACE(0)
as the Default Value. ---------- There go my people. I must find out where they are going so I can lead them. - Alexander Ledru-Rollin