if length of varchar2 should be 2 n times power
953965Aug 5 2012 — edited Aug 6 2012I am a java programmer.My headman told me when use varchar2(number),the number in parenthesis should be 2 n times power ,such as 32,64,128;because number stored in computer was binary system.But I feel so uncertain,in my option whether it is "1001" or "00001000",the computer should always take the whole byte and calculate what number is it.I search the internet,there was not so theory at all,and so as orcale's documents.
So ,is there so theory ,if the number defined the bytes of varchar2 is 2 times power is recommended?
If you know ,please tell me ,thank you so much.
Edited by: 950962 on 2012-8-6 上午8:54