Re: How to change a column from "NOT NULL" TO "NULL"

Re: How to change a column from "NOT NULL" TO "NULL"

 

  





At fix pack 7 v8 you can do that, otherwise you have to drop the table.

Dan Callahan IT Specialist
603-472-4121 t/l 525-4121
[Email address protected]
[Email address protected]




"Michael Kleiser
"
<db2udbdba-ezmlms To
hield-x52655470.x "LazyDBA Discussion"
[Email Address Removed] <[Email address protected]
a.com> cc

10/28/2004 07:35 Subject
AM How to change a column from "NOT
NULL" TO "NULL"










In DB2 8.1
I have defined a colum, not to allow null-values

Now I do wan't to allow them.
How can I do this ?

I Oracle it would be
ALTER TABLE tablename MODIFY columnname NULL






---------------------------------------------------------------------
PLEASE CLICK REPLY-ALL TO SEND A REPLY TO EVERYONE
website: http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html



DB2 & UDB email list listserv db2-l LazyDBA home page