Better to have Yes no field as integer or string 1 character? #1274
TinyTimothy2
started this conversation in
Data Modeling
Replies: 1 comment 2 replies
-
All that matters is the cardinality of the column. So in theory, there should be no difference between using 0/1 (integer), true/false (boolean) or "Y"/"N" (one character string) or even "Yes"/"No" (multiple character string). Use the option that makes most sense for your model consumers. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it better to have Yes no field as integer or string 1 character Y, N
Is there really a performance and space diff for 1 B row table?
I am thinking of switching back Y/N because it is better and more intuitive in visuals and filters.
Beta Was this translation helpful? Give feedback.
All reactions