Search code examples
mysqlsqlsql-serversqldatatypestype-conversion

MySQL datatype for URL's


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


Solution

  • I would use a generic VARCHAR(255)

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