Jonathan Allen
Jonathan Allen

Reputation: 70307

What is the difference betwen TINYINT(1) and Boolean in MySQL?

In MySQL, what is the difference betwen TINYINT(1) and Boolean?

Upvotes: 2

Views: 215

Answers (3)

Mark Byers
Mark Byers

Reputation: 838156

From the manual:

BOOL, BOOLEAN

These types are synonyms for TINYINT(1).

There is no difference.

Upvotes: 4

Mike Brant
Mike Brant

Reputation: 71384

BOOL or BOOLEAN and just synonyms for TINYINT(1)

Upvotes: 0

zerkms
zerkms

Reputation: 254906

There is no. BOOLEAN is an alias to TINYINT(1)

Upvotes: 2

Related Questions