Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> VARCHAR2 vs. CHAR in the Primary Key
Can I ask from people's experience whether using VARCHAR2 instead of a fixed
length CHAR field is a bad idea for primary keys? Would it cause problems
later
on for developers, when importing and querying data having keys of different
lengths?
I always thought that for major entities, a very rigidly defined primary key
would
help with data integrity and join performance.
Thanks in advance.
Akshay Jain
![]() |
![]() |