Suppose you have taken database field like this
username varchar(10)
in this case whatever name you will enter it will take 10 byte space only. While if your database field is like this
username varchar2(10)
It depends on the variable you are going to enter. If the username is of length 6 it will take 6 byte space not 10 byte.