Impact of defining VARCHAR2 column with greater length
问题 What are the effects of defining a column with VARCHAR2(1000) instead of VARCHAR2(10) in Oracle, when the values are not longer than 10 Byte? Does the column only take the space really necessary to store the values, or would that have any negative impacts on the size/performance of tablespaces/indexes? 回答1: The answer depends on whether you're talking about a column in a database table, or a variable in a PL/SQL program. Database column The amount of storage used is proportionate to the size