Sail E0 Webinar
Question
An attribute A of datatype varchar(20) has the value "Avi . The attribute B of datatype char(20) has value Reed .Here attribute A has ____ spaces and attribute B has ____ spaces .
Options:
A .  3, 20
B .  20, 4
C .  20 , 20
D .  3, 4
Answer: Option A


3, 20Varchar changes its length accordingly whereas char has a specific length which has to be filled by either letters or spaces.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers