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
Using SSMS, where do you find the list of all tables within a database?
DatabasesMS SQL ServerQuality Assurance (QA) JuniorWhere do you find a list of databases on the SQL Server?
DatabasesQuality Assurance (QA) JuniorDo you know what is a database, table and what is the difference between them?
DatabasesQuality Assurance (QA) JuniorHow do you create a new database using SSMS?
DatabasesQuality Assurance (QA) JuniorWhat is Microsoft SQL Server?
DatabasesQuality Assurance (QA) Junior