What is a data type?

Experience Level: Junior
Tags: DatabasesQuality Assurance (QA)

Answer

In programming languages data type is used to classify what type of data you can store somewhere.

There are couple of basic data types that are used the most often:

  • String (Multiple characters)
  • Character (One character)
  • Integer
  • Decimal
  • Boolean/Bit (Yes/No, 1/0)
  • Date (Date only)
  • Time (Time only)
  • DateTime (Date and time)

Note that exact data type names slightly differ from language to language and from system to system but in general they are very similar and once you learn data types in one language, you will recognize most of the data types in other language.

Related Databases job interview questions

Comments

No Comments Yet.
Be the first to tell us what you think.
MS SQL Server for Testers
MS SQL Server for Testers

Are you learning Databases ? Try our test we designed to help you progress faster.

Test yourself