I’ve been using varchar(300),but I’ve also noticed longer urls.
I’ve been using varchar(300) ,but I’ve also noticed longer urls.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use
TEXT, it’s enough for everyURL.Note that with long
URLs, you won’t be able to create an index that covers the wholeURL. If you need aUNIQUEindex, you should calculate theURLhash, store the hash separately and index the hash instead.