Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: flag

RE: flag

From: Igor Neyman <ineyman_at_perceptron.com>
Date: Wed, 21 May 2003 12:56:48 -0800
Message-ID: <F001.0059F1F5.20030521125648@fatcity.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US