Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

Re: strange cache problem

$
0
0

Andrew,

 

This is a SQL BATCH, not a stored procedure! If I recall correctly, "with recompile" would not be applicable...

 

And, if it had been a stored procedure, and in order to let the optimizer perform its magic and forego the forceplan option, I would have left the index on #T1.C1, added the index on #T1.C7 and then executed the query joining #T1 and E in a SUB procedure.

 

Regards,

 

Jean-Pierre


Viewing all articles
Browse latest Browse all 3587

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>