Return-Path: <root@fatcity.cts.com>
Received: from newsfeed.cts.com (newsfeed.cts.com [209.68.248.164])
 by naude.co.za (8.11.2/8.11.2) with SMTP id g3MLXtg01562
 for <oracle-l@naude.co.za>; Mon, 22 Apr 2002 17:34:05 -0400
Received: from fatcity.UUCP (uucp@localhost)
 by newsfeed.cts.com (8.9.3/8.9.3) with UUCP id OAA45519;
 Mon, 22 Apr 2002 14:41:09 -0700 (PDT)
Received: by fatcity.com (26-Feb-2001/v1.0g-b71/bab) via UUCP id 0044BAEE; Mon, 22 Apr 2002 14:12:55 -0800
Message-ID: <F001.0044BAEE.20020422141255@fatcity.com>
Date: Mon, 22 Apr 2002 14:12:55 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: YTTRI  Lisa <lisa.yttri@cnh.com>
Sender: root@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: YTTRI  Lisa <lisa.yttri@cnh.com>
Subject: char vs. varchar2
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 71; ListGuru (c) 1996-2001 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: text/plain;	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Is there any overhead (ie. internal conversion) in comparing a char to a
varchar2?  We found an instance where a primary key in one table is defined
as char(2) and the foreign key referencing it from another table is
varchar2(2).  We are going to change it, but I'm curious what, if anything,
happens when resolving the integrity?

Lisa

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: YTTRI  Lisa
  INET: lisa.yttri@cnh.com

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@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).

