The "length" of the VARCHAR is not the length of the contents, it is the maximum length of the contents.
The max length of a VARCHAR is not dynamic, it is fixed and therefore has to be specified.
If you don't want to define a maximum size for it then use VARCHAR(MAX).
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…