>>EXEC sys.sp_bindefault @defname=N'[dbo].[empty_bit]', @objname=N'[dbo].[b_bases].[hidden]' , @futureonly='futureonly'
>>
>>(I had to first adjust the Scripting options to include the bound defaults (by default they are not included).
>>
>>The syntax above is deprecated and MS recommends to change it to the normal ALTER TABLE defined constraints.
>>Just look at sp_binddefault stored procedure in BOL.
>
>Thank you for the explanation. I have a table where one of the columns default is to dbo.UW_ZeroDefault. Is this what you are talking about? I don't know even remember setting this default value (UW_ZeroDefault). Is this one is deprecated, does it mean I have to change it to 0 or 1?
Yes.
If it's not broken, fix it until it is.
My Blog