Re: <char dimension with charset UTF8>
Posted by:
Rick James
Date: November 29, 2010 09:07AM
ENUM lets you name the three values: "male", "female", "other". This is 'better' than trying to remember what 0,1,2 mean.
TINYINT is a 1-byte integer. When UNSIGNED, it can hold a value 0..255. When SIGNED (the default), it can hold -128..127.
An ENUM with up to 255 (256?) values takes 1 byte. Beyond that, it takes 2 bytes. (Your case will use one full byte.)
Subject
Views
Written By
Posted
4357
November 27, 2010 03:31PM
1560
November 28, 2010 07:06PM
1534
November 29, 2010 05:46AM
Re: <char dimension with charset UTF8>
1435
November 29, 2010 09:07AM
1438
November 29, 2010 10:03AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.