0

Possible Duplicate:
Best database field type for a URL

I am in the middle of transferring my access into mysql. My url's were datatype Anchor in the access database and I was wondering what would be the best datatype to store them in mysql

Community
  • 1
  • 1
suryll
  • 103
  • 2
  • 6

2 Answers2

1

I would just go with an appropriately sized varchar.

Joe Stefanelli
  • 132,803
  • 19
  • 237
  • 235
1

I would use a generic VARCHAR(255)

http://dev.mysql.com/doc/refman/5.5/en/char.html

gawpertron
  • 1,867
  • 3
  • 21
  • 37