Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2011
    Posts
    2

    Question Value of null date field in Oracle 11g

    Hi All,
    Does anyone know what value is stored in a null date field for Oracle 11g? The value in Oracle 10g is 01011700. Is this changing? Thanks.

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,622
    >Does anyone know what value is stored in a null date field for Oracle 11g?
    a NULL column has NO value
    >The value in Oracle 10g is 01011700.
    I disagree. BTW - what date is above?
    >Is this changing? Thanks.
    What do your test cases show?
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    There are no stupid questions, but there are a LOT of Inquisitive Idiots.

  3. #3
    Join Date
    Jan 2004
    Location
    Croatia, Europe
    Posts
    4,005
    Eh? NULL is simply NULL, nothing, absence of information, unknown. As far as I know, no value is stored in any NULL column (which includes DATE columns).

    Where does the information about
    The value in (a null date field for) Oracle 10g is 01011700
    come from? Could you post a link?

  4. #4
    Join Date
    Oct 2011
    Posts
    2
    Not in testing mode. Powers that be have notified us that we're going to Oracle 11g and some heard somewhere that the value for null date was changing. If that is the case we have several hundred Crystal programs we have to change. Just wanting to be proactive if this indeed is true.

  5. #5
    Join Date
    Jan 2004
    Location
    Croatia, Europe
    Posts
    4,005
    some heard somewhere
    That's called a reliable source.

  6. #6
    Join Date
    Jun 2004
    Location
    Liverpool, NY USA
    Posts
    2,426
    I suspect that your default value in your application for date fields is 01/01/1700. For example the earliest date in salesforce application is 01/01/1700. If this is true, there will be no difference in date fields between 10 and 11. They operate the same.
    Bill
    You do not need a parachute to skydive. You only need a parachute to skydive twice.

  7. #7
    Join Date
    Jan 2004
    Location
    Croatia, Europe
    Posts
    4,005
    Anyway, that's kind of silly. For example, there are HIRE_DATE (date when someone was hired) and END_DATE (date when someone quit the job, retired or something like that). Someone was employed on 24.08.2005 and is still working. According to the previous statement,
    Code:
    select hire_date, end_date from employees 
    where employee = 'SCOTT'
    returns
    Code:
    HIRE_DATE   END_DATE
    ----------  ----------
    24.08.2005  01.01.1700
    which is far from being true.

    Or, is there any other explanation?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •