Hello All,
I have a requirement to update a table which is hash partitioned and having
a local prefixed index with keys (STORE,
 SKU, ACTION_DATE, TRAN_TYPE) .   I have to update only one column called
'WH' to a new value where  store=store#, wh= 0 and tran_type = -1. Explain
plan shows me FULL TABLE access. 
Sample query would be like this

Update < table_name >
set wh=-1
where store=<store_no>
and     wh=<old_value>
and     tran_type=<value>

Any suggestions to have better performance ?? 

Thanks in advance,
Madhu

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Reddy, Madhusudana
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to