Qus:    What is data type for int, string, varchar?
Dec 02, 2020 13:13 2 Answers Views: 90 SHIVA

 Bigint – 8 bytes

Int – 4 bytes

smallInt- 2 bytes

TinyInt – 1 bytes



int data type in sql server stores 32 bit integer values.

string data type in sql server has various forms - char, varchar, text.

varchar data type in sql server can store maximum of 2^31-3 characters.

Prev Next
Answers (2)
SWEETY Dec 03, 2020 08:20
Answer:   Bigint – 8 bytes
Int – 4 bytes
smallInt- 2 bytes
TinyInt – 1 bytes

PARTH Dec 03, 2020 08:36
Answer:   int data type in sql server stores 32 bit integer values.
string data type in sql server has various forms - char, varchar, text.
varchar data type in sql server can store maximum of 2^31-3 characters.

Post Your Answer
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.


Let`s Connect