I read some where that varchar stores 2000 bytes whereas varchar2 stores 4000 bytes. Then, can you tell me why can I still create the below table structure in ORacle 10g or Oracle 11g?
CREATE TABLE sample
(
col1 VARCHAR(2500)
)
Oracle should have given the error for above query but it is not, can any one explain whats going on?
Thanks!
Where did you read that the limit on a VARCHAR is 2000 bytes? The Database Reference lists the data type limits. Both VARCHAR and VARCHAR2 have the same 4000 byte limit.