Computer Science, asked by sneha656, 1 year ago

differentiate between char and varchar with their examples​

Answers

Answered by nk1105Bro
4

Answer:

Explanation:

The char datatype is used where user needs to deal with fixed length strings.

Syntax and example :

  variable_name Char(Size);

The default size of Char datatype is 1 and maximum size of the char datatype is 254.

The varchar datatype is used where user needs to deal with variable length data or string.

Syntax and example :

variable_name Varchar(Size);

The Length is unsigned integer constant.The maximum length for varchar2 is 32672.

Answered by shaluuppalvodafon
0

Answer:

cczuDhSCjzfnxjrsjfaddykaddousjtshedjfftjsedhejskydjtftkdktdktstkstkskyekyeoydkydkydul


sneha656: what os this
sneha656: is
Similar questions