Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SELECT statement with 'IN'

Former Member
0 Kudos

Hi,

If SELECT statement has IN in the where clause, does that use the index?

For example,

SELECT t1 f2 f4 from ztest

WHERE

fid IN s_id AND

doctype IN s_doctype AND

year IN s_year .

What is the other option to optimize the SELECT with IN?

Thanks & regards,

Yogita

1 REPLY 1

Former Member
0 Kudos

Moderator message - Please search before asking - post locked Rob