Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > Oracle
|
Oracle General Oracle database discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Oracle section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 22nd, 2005, 08:28 AM
Authorized User
 
Join Date: Aug 2005
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to set Not Null constraint to Null Columns

Hi,
   I want information about the Not Null Constraint. Initially lot of records avialable in Database. Now we can change the Null column in to not null column.

 Plz reply me. if any one know anwser.

Thanx
Regards
Arasu.S

 
Old August 22nd, 2005, 10:09 AM
Authorized User
 
Join Date: May 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to saravananedu
Default

hi..,

try this out.
---
alter table empl
add constraint pk_empl_empno primary key(empno) novalidate
---

NOVALIDATE will not validate the existing records but will do for the upcoming records.

regards,
saran.

Best Regards,
Saran.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Display all NULL columns hm_naveen Oracle 2 January 5th, 2007 09:50 AM
How do you set a column to NULL in a parameter? Aaron Edwards ASP.NET 2.0 Basics 1 April 7th, 2006 11:26 PM
How do you set a column to NULL in a parameter? Aaron Edwards ADO.NET 3 April 7th, 2006 06:26 PM
behaviour of NULL value in date type columns kasanar SQL Server 2000 2 July 7th, 2005 04:40 PM
Problem trapping not null constraint method Access 3 June 29th, 2005 07:14 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.