Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Definitive Answer about varchar and number Sizes

Test2May 16 2015 — edited May 16 2015

Dear All,

1-

For ID column and from 1- Performance and 2- Storage point of view: Is data type Number (21) is the same as Number (5) ?

If they are not the same, then is the best practice to give the column a little bit extra size e.g., Number (7) rather than Number (5), then increase whenever is needed ?

2-

Is Varchar2 (250) the same as varchar2 (4000), if they are the same, then why people care about specifying the Size of Varchar2 ?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 13 2015
Added on May 16 2015
6 comments
1,561 views