What kind of data is best for boolean? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What kind of data is best for boolean?

Im looking for efficence. What is better? An INT column with 0 and 1? Or SQL has a better choice for this.

6th Aug 2016, 3:31 PM
Juan Manuel Espinosa
Juan Manuel Espinosa - avatar
1 Answer
+ 2
You want TINYINT TINYINT (1)
7th Aug 2016, 5:00 AM
Nathan “Grimston” Pipes
Nathan “Grimston” Pipes - avatar