none
Data Type. Longitude and Latitude RRS feed

  • Question

  • Hello,

    I am creating a table in SQL 2008 that contains two columns to hold latitude and longitude values to use with Google Maps. For example:
    Latitude = 44.797916
    Longitude = -93.278046

    What SQL data type should I use to hold these values?

    Thanks,
    Miguel
    Thursday, November 26, 2009 6:19 PM

Answers

  • The FLOAT data type is a good choice.


    Plamen Ratchev
    • Marked as answer by MDMoura Thursday, November 26, 2009 6:24 PM
    Thursday, November 26, 2009 6:23 PM
    Moderator

All replies