No products in the cart.

Difference between Char and Varchar Datatyoe

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Difference between Char and Varchar Datatyoe
  • 2 answers

Arnab Das Gupta 3 years, 8 months ago

VARCHAR is variable length, while CHAR is fixed length. CHAR is a fixed length string data type, so any remaining space in the field is padded with blanks. CHAR takes up 1 byte per character. ... VARCHAR is a variable length string data type, so it holds only the characters you assign to it.

Pratibha Maurya 3 years, 8 months ago

Char fix the space whatever you have given and no more data will be filled in the empty space. But varchar fills the empty space internally ( but show the datatype as what you made)
http://mycbseguide.com/examin8/

Related Questions

Define goal seek
  • 1 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App