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: Mon Aug 08, 2016 8:27 pm (GMT 5.5)

DB2 V8.1 probably doesn't support this feature (ask your DBA) and you would possibly have to be on DB2 V9 or up versions. Also try this if you want constraint to be NOT NULL.
Code:
ADD CONSTRAINT

_________________
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