ENUM or Boolean?

2

I have a NOTICIA table and I have a column ATIVO

News can be active or not if it is BOOLEAN (0 or 1) if it is ENUM .

What would be best to use BOOLEAN or ENUM ?

    
asked by anonymous 04.04.2018 / 22:36

1 answer

-5

I never suggest using BOOLEAN in tables, because it is routine to have post requirements that require more than two states. Use ENUM or even a simple INT.

    
04.04.2018 / 22:57