Date stored as a Decimal

  • Hello,

    I am querying a table and can get the required results all ok, however all of the date fields are stored in the decimal datatype format. Ie for a row of the date 27/01/2009 (dd/MM/yyyy) the actual filed contains this 131662107.

    I need to try and convert 131662107 to 27/01/2009 (dd/MM/yyyy)

    Any help would be appreciated.

    Kind Regards

    Nathan

  • Duplicate post. No replies to this thread please. Direct replies to:http://www.sqlservercentral.com/Forums/Topic643933-338-1.aspx

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply