Netezza SQL syntax to convert numeric YYYYMMDD format into date
        Posted  
        
            by Bazil
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Bazil
        
        
        
        Published on 2009-07-31T08:59:08Z
        Indexed on 
            2010/04/22
            12:13 UTC
        
        
        Read the original article
        Hit count: 358
        
We have a Netezza table that contains dates stored in a numeric YYYYMMDD format (eg 20090731).
What is the best Netezza syntax to use to convert this into date format?
eg
SELECT somefunction(20090731) as NZDATE
?
© Stack Overflow or respective owner