Calling sp and Performance strategy.
Posted
by Costa
on Stack Overflow
See other posts from Stack Overflow
or by Costa
Published on 2010-04-05T10:21:22Z
Indexed on
2010/04/05
10:23 UTC
Read the original article
Hit count: 358
Hi
I find my self in a situation where I have to choose between either creating a new sp in database and create the middle layer code. so loose some precious development time. also the procedure is likely to contain some joins.
Or use two existing sp(s), the problem of this approach is that I am doing two round trips to database. which can be poor performance especially if I have database in another server.
Which approach you will go?, and why?
thanks
© Stack Overflow or respective owner