IIF versus calling a function

R

Rick Allison

Why is an embedded iif faster than calling a function from
a query?

For a field if I write iif(field>1,"yes","no") versus
function(field) the query is much faster.

Any reason why calling a function from a query is slow?

Thanks,

Rick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top