When storing latitude or longitude data in an ANSI SQL compliant database, what datatype would be most appropriate? Should float be used, or decimal, or …?

I’m aware that Oracle, MySql, and SQL Server have added some special datatypes specifically for handling geo data, but I’m interested in how you would store the information in a “plain vanilla” SQL database.

8 Answers
8

Leave a Reply

Your email address will not be published. Required fields are marked *