an*************@gmail.com wrote:
Is there any command (alter table ...?) to drop 'Not Null' constraint
on a column? I have a column CODE which has 'Not Null' constraint
defined and I want to drop 'Not Null'. Please let me know.
Droping the table and recreating would be my last option...
Thanks
That depends how it was ADDed.
If the NOT NULL CONSTRAINT was ADDed manually, a standard ALTER TABLE
<table nameDROP CONSTRAINT <constraint name>; should do the trick. If
it was added automagically, others have responded.
Just another reason to do things manually.
B.