Reputation: 32778
I have a table with a column that is of a character type.
Can someone tell me how I configure a certain constant default value after the table has already been created?
Upvotes: 0
Views: 29
Reputation: 204756
To set n
as default value do
ALTER TABLE your_table
ADD CONSTRAINT result_const DEFAULT 'n' FOR Result;
Upvotes: 3