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

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

 

  

You cannot alter the table to modify this behaviour. The only option is
you have to create the table again





"Michael Kleiser "
<db2udbdba-ezmlmshield-x52655470.[Email address protected]
10/28/2004 05:05 PM

To: "LazyDBA Discussion" <[Email address protected]
cc:
Subject: 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