r/SQL • • Apr 12 '19

I made a SQL shirt NSFW

Post image
410 Upvotes

44 comments sorted by

View all comments

0

u/[deleted] Apr 12 '19

[deleted]

10

u/Thaurin Apr 12 '19

No, it's a bit type. Couldn't be >1.

0

u/[deleted] Apr 12 '19

[deleted]

1

u/CaptainSnazzypants Apr 13 '19

But it’s unnecessary and would be confusing when troubleshooting or reading. If you have an int field you wouldn’t write a condition in your query to ensure it’s not a string.