Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: what's the size of a date field?
It's 7 bytes
"elain he" <elainhe_at_hotmail.com>
Sent by: ml-errors_at_fatcity.com
10/06/2003 11:44 AM
Please respond to ORACLE-L
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> cc: Subject: what's the size of a date field?
Hi,
I'm trying to figure out the size (in bytes) of a DATE column. Executing
the
three queries below returned me three different values. Is there any way
of
finding the size of a date column in the database?
Thanks.
elain
select * from testing;
DOB
11
select data_length from dba_Tab_columns where table_name='TESTING'; DATA_LENGTH
7
select length (timestamp) from abc;
LENGTH(TIMESTAMP)
9 _________________________________________________________________Get McAfee virus scanning and cleaning of incoming attachments. Get Hotmail
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: elain he
INET: elainhe_at_hotmail.com
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author:
INET: Jared.Still_at_radisys.com
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Mon Oct 06 2003 - 15:24:41 CDT
![]() |
![]() |