top of page

Snack-Sized Data Basics
Data Types - Logical

Logical values are the easiest data types to understand and work with. They only have two possible values,TRUE and FALSE, making them simple to store and process.

dataleaflet-tf.png

There are different types of logical values in SQL. Here are a couple:

  • BOOLEAN stores TRUE and FALSE values. In some databases, TRUE is stored as 1 and FALSE is stored as 0.

  • BIT stores 1 for TRUE and 0 for FALSE.​​

​

Simple, right?

 

bottom of page