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: Raghu navaikulam
Subject: Reply to: Converting NULL column into NOT NULL using ALTER statement
Posted: Sun Aug 07, 2016 1:43 pm (GMT 5.5)

Thanks Rohit for your replay.

I tried alter the column WITH DEFAULT, NOT NULL WITH DEFAULT. In both cases it gives error saying "NULL" is invalid.
I am using DB2 V8.1.

This version is not allowing to drop a column. As you said I can drop the table and create another table with "NOT NULL" column.

Anyway thanks for your comments on my query.

Regards
Raghu icon_biggrin.gif


Viewing all articles
Browse latest Browse all 8500

Trending Articles