- Table scan may be chosen if a local variable is used as a search argument like below.
declare @col1 int
select @col1 = 10
select * from test1 where col1 = @col1
- As a result, the query performance slows down.
- SAP Adaptive Server Enterprise (ASE) 15.x
- SAP Adaptive Server Enterprise (ASE) 16.0
slow, drop, performance, local variable, tablescan, indexscan, "statement cache" , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , How To
About this pageThis is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).
Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.