Hi Murt,
You need to unload any data so that you can restore it later, drop the table, and then create it again changing the NOT NULL to NULL. You can then reload the table from the stored data. If you are then wanting to have this field not exist, either set it to NULL or move -1 to it's null indicator.
hope this helps,
Marc
Murt,
Don't think that this can be done, although I'll welcome somebody coming along and saying otherwise. There's an ALTER TABLE command, but I don't think that this does what you want. It will add a new column or delete an old one, but it doesn't change one in the way you want.
Marc
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.