My application just recently started blowing up and the problem was traced to one of several new offices my company had acquired. The new office name was 41 characters long and the various office name variables declared in the stored procedures were varchar(40). I opened them all up to 75 in order to be fairly certain that it doesn't happen again if we get an office with 42 or 51 etc characters.
However, is there any downside to creating a generous varchar field rather than making it just big enough plus a little extra?
However, is there any downside to creating a generous varchar field rather than making it just big enough plus a little extra?