Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

DB2 :: RE: Converting NULL column into NOT NULL using ALTER statement

$
0
0
Author: Rohit Umarjikar
Posted: Sun Aug 07, 2016 4:15 am (GMT 5.5)

You must specify WITH DEFAULT and try, if you are not aDBA then why bother yourself instead send an email to the them. I that don't work then try either of this.
1. Drop the column, and then re-add it using Alter, which should then let me add it as NOT NULL, and reorg.
2. Unload the table, drop/create the table, load the table.
_________________
Regards,
Rohit Umarjikar
"Knowledge is knowing that a tomato is a fruit, but Wisdom is knowing not to put it in a fruit salad."icon_razz.gif


Viewing all articles
Browse latest Browse all 8500

Trending Articles