Hi,
I am trying to drop the default value on a bit column, I have set it wrong and I want to do it again correctly. However, when I write:
ALTER TABLE Person
ALTER COLUMN tsHomePref DROP DEFAULT;
I get a 'incorrect syntax near keyword default error' and I don't know why
I want to drop the column and then build it again
ALTER TABLE Person
ADD COLUMN tsHomePref bit NOT NULL DEFAULT 0;
So, why won't it let me 'drop' the default value?
Thanks R.