• Home
  • Random
  • Log in
  • Settings
  • About LemonWiki共筆
  • Disclaimers
LemonWiki共筆

Data type

  • Language
  • Watch
  • Edit
Revision as of 11:17, 7 February 2012 by Planetoid (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

data type

types of data

  • IP(v4):
    • varchar(15)
    • ex: 255.255.255.255 [1]
  • Chinese name:
    • 最長姓名有13個字 [2]
  • unix timestamp:
    • bigint(10) ; limit?
  • 經緯度 (經度,緯度):
    • DECIMAL(18,12)[3] or FLOAT( 10, 6 )[4]
    • ex: 37.401724,-122.114646

references

  1. ↑ Datatype for storing ip address in SQL Server - Stack Overflow
  2. ↑ 台灣“獨一姓氏”者達149人 最長姓名有13個字_台灣頻道_新浪網-北美
  3. ↑ mysql - What is the ideal data type for latitude / longitude? - Stack Overflow
  4. ↑ Creating a Store Locator with PHP, MySQL & Google Maps - Google Maps API Family - Google Code

further reading

  • MySQL :: MySQL 5.0 Reference Manual :: 10 Data Types
Retrieved from "https://wiki.planetoid.info/index.php?title=Data_type&oldid=10693"
View edit history of this page.

Languages

    This page is not available in other languages.

    LemonWiki共筆
    • This page was last edited on 7 February 2012, at 11:17.
    • Content is available under Creative Commons Attribution-NonCommercial-ShareAlike unless otherwise noted.
    • Privacy policy
    • About LemonWiki共筆
    • Disclaimers
    • Desktop