Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query Optimization

Status
Not open for further replies.

jfkuser

Programmer
Joined
Mar 12, 2003
Messages
3
Location
US
We have a update on temp table which is running very slow on ver 7.2 .Here is the query. Is there anywat we can rewrite it to run faster?

UPDATE SESSION.TEMP_AMOUNT02 TMP_AMT
SET (
CLM_VAL
) =
(
SELECT TMP_CVL.CLM_VAL
FROM SESSION.TEMP_CLMVAL TMP_CVL
WHERE TMP_AMT.CLM_CVRG_ID = TMP_CVL.CLM_CVRG_ID
AND TMP_AMT.CLM_NUM = TMP_CVL.CLM_NUM
);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top