Hello all;
I am using Cachedwithin with a createtimespan(0,0,30,0) in my query and the performance has been very satisfying. But unfortunately, my query takes in argument that will be passed in by users. The query looks like this.
SELECT DISTINCT clinic
FROM aim_clerk, aim_clinic_access
WHERE dmis = '#Getdmis.dmis#'
AND aim_clinic_access.MEPRS = left(aim_clerk.meprs ,3)
AND provider is not null
Order by Clinic
When I'm not using the cachedwithin, then the time it takes for the page to load is very slow. But with the cachedwithin, after the first load, since it's stored on the server's ram, the response time is very fast. I would like to keep these feature but how can I implement it in a query that takes in passed arguments in it's where clause???
Thanks.
"Behind every great fortune there lies a great crime", Honore De Balzac
I am using Cachedwithin with a createtimespan(0,0,30,0) in my query and the performance has been very satisfying. But unfortunately, my query takes in argument that will be passed in by users. The query looks like this.
SELECT DISTINCT clinic
FROM aim_clerk, aim_clinic_access
WHERE dmis = '#Getdmis.dmis#'
AND aim_clinic_access.MEPRS = left(aim_clerk.meprs ,3)
AND provider is not null
Order by Clinic
When I'm not using the cachedwithin, then the time it takes for the page to load is very slow. But with the cachedwithin, after the first load, since it's stored on the server's ram, the response time is very fast. I would like to keep these feature but how can I implement it in a query that takes in passed arguments in it's where clause???
Thanks.
"Behind every great fortune there lies a great crime", Honore De Balzac