Procedure performance vs Query

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • peppe16
    New Member
    • Oct 2008
    • 1

    Procedure performance vs Query

    Hi everyone,

    I have a query that takes 0.1 secs to execute.
    I also have a db2 sql procedure that the only thing that is doing is calling this query. But for some reason that i don't understand, this procedure takes 5 secs to execute...
    Can anyone help me?
Working...