D
DawnTreader
Hello All
I have a general question about how best to do something.
I have a lot of queries in my app that do calculations at some point in the
stacks of queries to get results i need for various functions in the app.
is it better to pull fields and do calculations later? meaning if i have a
stack of 3 queries should i just pull fields in the first query and then have
the second query pull the information from the first and then in the third do
all my calculations? or would it be better to do a calculation right away and
then just pull that through my data sets?
the reason i ask is that i have done it both ways in various situations and
sometimes i have done calcs at each step. it makes me wonder if there is a
more efficient way that would make my queries and app faster.
any and all help appreciated.
I have a general question about how best to do something.
I have a lot of queries in my app that do calculations at some point in the
stacks of queries to get results i need for various functions in the app.
is it better to pull fields and do calculations later? meaning if i have a
stack of 3 queries should i just pull fields in the first query and then have
the second query pull the information from the first and then in the third do
all my calculations? or would it be better to do a calculation right away and
then just pull that through my data sets?
the reason i ask is that i have done it both ways in various situations and
sometimes i have done calcs at each step. it makes me wonder if there is a
more efficient way that would make my queries and app faster.
any and all help appreciated.