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:

RE:

From: Mercadante, Thomas F <NDATFM_at_labor.state.ny.us>
Date: Wed, 28 Aug 2002 05:23:23 -0800
Message-ID: <F001.004C1455.20020828052323@fatcity.com>


Sankar,

Use Varchar2 for storage of character data up to 4000 characters in length.

Never use LONG datatypes.

Use CLOBS for characters data > 4000 bytes up to 4Gig in length.

I'm not sure why anyone would use NCLOBS.

Hope this helps

Tom Mercadante
Oracle Certified Professional

-----Original Message-----
Sent: Wednesday, August 28, 2002 8:19 AM To: Multiple recipients of list ORACLE-L

Hi,

I would like to know which datatype is best to use for storing text data of around 50 lines.The data is basically a variable length user feedback.I am in confusion whether to go for VARCHAR2 or LONG type. Also in CLOB and NCLOB, can somebody clarify me about "CLOBS store single-byte character set data and NCLOBs store fixed-width and varying-width multibyte national chararcter set data(NCHAR data)". Which one is the best to use among VARCHAR2,LONG,CLOB,NCLOB for my requirement

Thanks & Regards,
Sankar  

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: P.V.Sankar
  INET: sankar_at_cdotb.ernet.in

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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.com
--

Author: Mercadante, Thomas F
  INET: NDATFM_at_labor.state.ny.us
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Aug 28 2002 - 08:23:23 CDT

Original text of this message

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