Application Development and Automation 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: 

Doubt in Select Query

Former Member
0 Kudos
185

Hi,

I want to get data from 2 table which query is effeicient one

by seeing performance...

1. using for all entries statement

2. Get data using join query.

Thanks in advance

1 ACCEPTED SOLUTION

Former Member
0 Kudos
163

Always For all entries is better.

With luck,

Pritam.

5 REPLIES 5

Former Member
0 Kudos
163

Hi,

For all entries is better than koin conditions.

Former Member
0 Kudos
163

Hi John,

FOR ALL ENTRIES is the best one when performance is considered.

Regards,

Chandra Sekhar

Former Member
0 Kudos
164

Always For all entries is better.

With luck,

Pritam.

Former Member
0 Kudos
163

Hi,

It would better to use over using join with multiple pages...

From which tables you are fetching data.

Regards,

Amit

Former Member
0 Kudos
163

FOR ALL ENTRIES is better for some reasons,

--> If the data is huge , then some times JOIN may end up in TIME OUT error

--> FOR ALL ENTRIES will use the INDEXEs of the tables and improves the performance