Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Oracle Question

Status
Not open for further replies.

joero4

Programmer
Dec 21, 2001
8
US
Here is my situation...

A Table exist with fields that accept NULL values.
Views and Indexs have also been created from that same table.

I now want to update the original table so that the fields do not accept NULL values (NOT NULL). Is it neccessary to re-create the views and indexs if I update the fields in the table?

Thanks,
Joe

 
Putting the constrant on the table is enough. (Oracle may implement the constraint via indexes, but that will be automatic) I tried to remain child-like, all I acheived was childish.
 
If this field contains null values, you should also provide default value or create DISABLEd constarint .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top