Geeks Talk

Prepare for your Next Interview




null

This is a discussion on null within the Oracle forums, part of the Databases category; how i can verifiy the null occupied the memory......


Go Back   Geeks Talk > Databases > Oracle

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-03-2008
Junior Member
 
Join Date: Jul 2008
Location: New Delhi
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
deepakbit2 is on a distinguished road
null

how i can verifiy the null occupied the memory...
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-04-2008
Expert Member
 
Join Date: Sep 2007
Posts: 754
Thanks: 22
Thanked 64 Times in 63 Posts
krishnaindia2007 is on a distinguished road
Re: null

Quote:
Originally Posted by deepakbit2 View Post
how i can verifiy the null occupied the memory...
NULL is absence of value. How can a non existent value occupy space in memory?

Code:
SQL> CREATE TABLE TEST_DATA( X NUMBER);

Table created.

SQL> INSERT INTO TEST_DATA VALUES(NULL);

1 row created.

SQL> SELECT DUMP(X) FROM TEST_DATA;

DUMP(X)
--------------------------------------------
NULL
Reply With Quote
  #3 (permalink)  
Old 07-04-2008
Moderator
 
Join Date: Jun 2007
Location: Bangalore,India
Posts: 1,432
Thanks: 8
Thanked 125 Times in 112 Posts
debasisdas will become famous soon enoughdebasisdas will become famous soon enough
Re: null

null does not occupy any memory.
Reply With Quote
Reply

  Geeks Talk > Databases > Oracle


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Null V Nothing dubdownunder SQL 5 03-27-2008 06:46 AM
null statement in c ShrutiS C and C++ 6 03-18-2008 09:41 AM
Set columns as not null jency SQL 2 12-06-2007 01:12 AM
Not null constraint Geek_Guest SQL Server 2 10-17-2007 07:05 AM
Built-in and plugin stages, Chaning Null to Not Null and Types of lookup Geek_Guest Data Warehousing 0 04-06-2007 04:48 AM


All times are GMT -4. The time now is 02:38 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved