Adaptive Server version 15.0.1 lets you automatically convert literal values in SQL queries to parameter descriptions (similar to variables).
select count(*) from titles where total_sales > 100 select count(*) from titles where total_sales > 200
Adaptive Server version 15.0.1 allows you to automatically convert literal values in SQL queries to parameter descriptions (similar to variables). A new sp_configure option supports this feature, which is called enable literal autoparam.
sp_configure "enable literal autoparam", [0 | 1]
Where 1 automatically converts literals to parameters, and 0 disables the feature. The default is 1.
set literal_autoparam [off | on]