what is the difference between varchar and varchar(2)?
Answers were Sorted based on User's Feedback
Answer / swapnil
When you use varchar data type say varchar(20),
it will reserve the space of 20 bytes even length of
passing parameter is less than 20 byte. But in varchar2, it
will release the remaining space after reserving actual
passing parameter length
| Is This Answer Correct ? | 11 Yes | 7 No |
Answer / srinivasa reddy k
Varchar2 is the oracle datatype
Varchar is not the oracle datatype but still oracle
supports it by converting it into varchar2
But it is not a good practice to use Varchar datatype
| Is This Answer Correct ? | 4 Yes | 4 No |
Answer / sandeep kumar
VARCHAR2 is as per the ANSI standard while VARCHAR is not.
Hence we should use VARCHAR2.
| Is This Answer Correct ? | 2 Yes | 3 No |
Answer / mohan kumar
VARCHAR--FIXED LENGTH OF DATA TYPE,MEMORY ALLOCATION WILL
NOT TAKE PLACE.
VARCHAR2--IN THIS ORACLE DATA TYPE,MEMORY ALLOCATION WILL HAPPEN
| Is This Answer Correct ? | 2 Yes | 5 No |
what are external tables? how can we use external table instead of sql * loader to load data from flat file to staging table?
what are the receipt types in Po?
What r the validation types?
List some exceptions other than NO_DATA_FOUND, TOO_MANY_ROWS and WHEN OTHERS
What is sca and how is it useful?
what is flexfield qualifier?
How to pass data into EXECUTE_IMMEDIATE statement in plsql body ?
what is item status? name the related table.
what is the purpose of standard cost update?
diff between key and descriptive flexfield.
what is the difference between credit memo and debit memo?...
How to attach the multiple templates in XML Pub Report?