[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference orarep::nomahs::dbms

Title:VAX DBMS
Notice:THIS NOTESFILE IS NOT A FORMAL SUPPORT CHANNEL
Moderator:SCARY::CHARLAND
Created:Thu Feb 20 1986
Last Modified:Tue Jun 03 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2642
Total number of notes:11044

2409.0. "Date comparisons" by ORAREP::CSC32::J_HANLON () Thu Aug 24 1995 16:10

T.RTitleUserPersonal
Name
DateLines
2409.1Known problemSCARY::CHARLANDORACLE CODASYL DBMS EngineeringThu Aug 24 1995 17:159
2409.2That was quick! Thanks!!!ORAREP::CSC32::J_HANLONThu Aug 24 1995 17:218
2409.3Need WorkaroundM5::DMACKENZTue Mar 04 1997 15:3913
    I have a customer with this same problem on DBMS 5.1A.  He cannot
    upgrade and needs a workaround.  He has already tried specifying 
    different time values to get the dates he wants, but no workaround
    has been found yet. The problem occurs both when he queries using
    a calc set and this date key and when searching the realm.
    
    I'm hoping that some insight into the problem with the conversion
    will lead to a workaround.
    
    Thanks,
    
    Diane
         
2409.4Found itM5::DMACKENZWed Mar 05 1997 14:5013
    FYI,
    
    I figured it out.  If the first four bytes in the date's quadword for
    the record is the same as the first four bytes in the low-end comparision
    date's quadword, DBMS is considering it a match.  This makes the cutoff
    for the problem down to the fraction of a second.  
    
    This helped to determine the scope of the problem.  For my customer, it
    was just a few minutes.  Now he can determine if it's worth adding
    extra code in his application to check the retrieved record's date and
    ignore it if it was an erroneous retrieval.
    
    Diane
2409.5ORAREP::AUSS::GARSONDECcharity Program OfficeWed Mar 05 1997 19:345
    re .4
    
    One longword of clunks is a shade over 7 minutes. Hence code that does
    ADT comparisons by comparing only the high longword can consider times up
    to this much apart as equal. I am not sure whether this is relevant but...