If you are ready to always encode URLs before saving them (the example Google got was δΈ .doc URL encoding for% E4% B8% AD.doc), then you are safe with varchar. If you want non-ASCII characters in your URLs to remain readable in the database, I would recommend nvarchar. If you do not want to be caught, go to nvarchar.
Since IE (the most restrictive of the major browsers) does not support URLs longer than 2083 characters, (besides any considerations that may occur when indexing or line length), you can cover most of the useful scripts with nvarchar (2083).
David M Jul 21 '09 at 15:34 2009-07-21 15:34
source share