Home > Ask the Oracle Experts > (Archive) SQL and PL/SQL Questions & Answers > Specifying a column as NULL
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

Specifying a column as NULL

Azim Fahmi EXPERT RESPONSE FROM: Azim Fahmi

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 04 February 2005
I created a table with an explicit null constraint. When I select back from the view "user_constraints" this constraint does not show up. What's going on?

>
EXPERT RESPONSE
Explicit NULL constraint is a redundant declaration. That is why it is not showing up in user_constraints data dictionary table. Specifying a column as NULL means the column may be kept empty. By not specifying explicitly the null constraint you instruct the DBMS of the same. It is the NOT NULL declaration of a column that instructs the DBMS that the column may not be empty and that will show up in the USER_CONSTRAINTS table for the corresponding column of the table.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
(Archive) SQL and PL/SQL
ORA-01654 even though maxextents defined as unlimited
Read, process and write a text file to the database
Concatenating a null character affecting performance
Generating a 10 character alphanumeric sequence
Working with InterDev and DreamWeaver
Line placement in an EMESSAGE
Write a SQL script with optional arguments
Searching for stored reservation dates in a database
Error message while trying to write a Pl/SQL block
Why do many DBMS push their own programming languages?

Oracle PL/SQL
Oracle's free SQL Developer adds database migration tool
Confused about Oracle certification exams
ORA-01422 error when procedure returns more than one row
Calling procedure inside another procedure in anonymous block
How to import comma-delimited text file to Oracle table
Oracle updates Microsoft developer tools
PLS-00103 errors
PL/SQL do's and don't's: Five questions with Steven Feuerstein
Definition of force view
ORA-04082: NEW or OLD references not allowed in table level triggers

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
PL/SQL  (SearchOracle.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts