I read here so that I can set the default value for the column as follows:
ALTER [ COLUMN ] column SET DEFAULT expression
But this:
ALTER address.IsActive SET DEFAULT NULL Gives me this error:
ERROR: syntax error at or near "address" LINE 1: ALTER address.IsActive SET DEFAULT NULL
What am I doing wrong? Also, how can I specify multiple columns so that their default value is NULL ?
source share