SQL Interview Questions and Answers
Question: What is difference between CHAR and VARCHAR2? What is the maximum SIZE allowed for each type?Answer: CHAR pads blank spaces to the maximum length.VARCHAR2 does not pad blank spaces. For CHAR the maximum length is 255 and 2000 for VARCHAR2. |
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users: