Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: flag
It's not necessarily 22 bytes.
You can specify NUMBER(1) for "flag" column.
SQL> select lengthb(ENABLE_AUX_IDS_FLAG), ENABLE_AUX_IDS_FLAG from ipn_station;
LENGTHB(ENABLE_AUX_IDS_FLAG) ENABLE_AUX_IDS_FLAG
---------------------------- ------------------- 1 1
Igor Neyman, OCP DBA
ineyman_at_perceptron.com
-----Original Message-----
Turner
Sent: Wednesday, May 21, 2003 3:17 PM
To: Multiple recipients of list ORACLE-L
Would you use a number or char for a flag in a table? Would you use a char since it's one byte and a number is 22 bytes?
Dave
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: David Turner
INET: turner_at_tellme.com
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Igor Neyman
INET: ineyman_at_perceptron.com
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed May 21 2003 - 15:56:48 CDT