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

Home -> Community -> Usenet -> c.d.o.server -> Re: Update/Select on CHAR Column Behaves Differently In Stored Procedure

Re: Update/Select on CHAR Column Behaves Differently In Stored Procedure

From: <ak_tiredofspam_at_yahoo.com>
Date: 5 May 2005 12:39:22 -0700
Message-ID: <1115321962.089383.138870@g14g2000cwa.googlegroups.com>


you might find that

UPDATE ...
SET ...
WHERE TRIM(some_column) = TRIM(the_other_column);

performs slower than

UPDATE ...
SET ...
WHERE some_column = RPAD(the_other_column, some_column_length);

unless there is a function based index on TRIM(some_column) Received on Thu May 05 2005 - 14:39:22 CDT

Original text of this message

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