-1

How can I ALTER COLUMN to NULL when the column in NOT NULL in Oracle, with a sentence or script?

rink.attendant.6
  • 44,500
  • 61
  • 101
  • 156

1 Answers1

1

To alter the column (assuming the current type is varchar2(100)):

alter table mytable modify column1 varchar2(100) null

Interestingly, this fails if the column is already nullable.

Bohemian
  • 412,405
  • 93
  • 575
  • 722