Symptom
A simple update statement generates a different plan with statement cache on verses statement cache off:
UPDATE mydb..mytable
SET duration = c.duration
FROM #chunk c,
mydb..mytable p
WHERE p.asof_date = c.price_date
AND p.cusip = c.cusip
Why is this happening?
Read more...
Environment
-
SAP Adaptive Server Enterprise (ASE) 15.7
-
SAP Adaptive Server Enterprise (ASE) 16
Product
SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0
Keywords
table scan, query plan, optimization goal , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview