Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> AW: Data Types
Hi Santosh,
VARCHAR and VARCHAR2 are pretty much the same, but Oracle has them both to
be compatible ANSI types.
The N prefix indicates that you can store multibyte data in these fields
(like Unicode). The reason behind it is,
that you can either have the whole database be Unicode based or you don't
and then you'll have to use the N
prefixed datatypes in order to have a Unicode / non-Unicode mix within
tables.
Regards,
Stefan
-----Ursprüngliche Nachricht-----
Von: Santosh Varma [mailto:vsantosh_at_psi.soft.net]
Gesendet: Freitag, 21. Juni 2002 08:23
An: Multiple recipients of list ORACLE-L
Betreff: Data Types
i wanted to know the exact difference between the following data types ->
NCHAR
NVARCHAR2
VARCHAR2
VARCHAR
Thanks and regards,
Santosh
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Stefan Jahnke INET: Stefan.Jahnke_at_bov.de 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-LReceived on Fri Jun 21 2002 - 05:58:22 CDT
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
![]() |
![]() |