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: Mark Moynahan <Mark.Moynahan_at_apollogrp.edu>
Date: Wed, 21 May 2003 13:48:19 -0800
Message-ID: <F001.0059F326.20030521134819@fatcity.com>


Are you planning to use the flagged column as a boolean across a jdbc connection? If so, then go with a number datatype. The 9i jdbc driver does not know how to handle boolean datatype, thus if you store 'Y' in a char column the jdbc driver will throw errors when the java application calls GetBoolean against the jdbc driver.

Mark

-----Original Message-----
Sent: Wednesday, May 21, 2003 1: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: Mark Moynahan
  INET: Mark.Moynahan_at_apollogrp.edu
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 - 16:48:19 CDT

Original text of this message

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