Hi, I have always used static user defined functions to create queries with varying parameters, but I just learned that this is slow as hell. Is there another way to do it?
You could try using code to create an SQL String, which you then use to replace the SQL String for the query you want to run.
The benifits will be that all the parameters will become 'hardcoded' within the query, so it should run much faster. Next time you want to run that query again, you will change the SQL property again.
Its all done with querydefs. Whilst this might not be exactly what you want to do, but it might give you some ideas!! Check here: faq701-2328
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.