CBSE BOARD X, asked by harshuharu2911, 11 months ago

a) Differentiate CHAR and VARCHAR data types in SQL (2M)
b) Write SQL command to create table CLUB with following structure. (M
Field
Type Constraint
MEMBER_No Integer Primary Key
Member_Name Varchar(30) Not Null
Join Date
Date
Member_Type 1 char
Charges
Float
Insert 3 tuples with some data.​

Answers

Answered by zoya0710
2

Answer:

Char

  • have Fixed length
  • uses the same amount of storage space per entry

Varchar

  • have variable length
  • only uses the amount necessary to store the actual text
Similar questions