In order to see analytics for a small group of data from a large dataset (2M + rcds), I planned to run report with following steps
1) Create a temp table with data based on a time range (defined by user)
2) Run queries on this temp table
3) Display queries results on report
I am using a macro to run the above steps.
When I open the report, it already has information in it based on lasttime query. Now if I try to run a macro, I get an error
"The database engine could not lock table xyz because it is already in use by another person or process".
How can I avoid this prob?
1) Create a temp table with data based on a time range (defined by user)
2) Run queries on this temp table
3) Display queries results on report
I am using a macro to run the above steps.
When I open the report, it already has information in it based on lasttime query. Now if I try to run a macro, I get an error
"The database engine could not lock table xyz because it is already in use by another person or process".
How can I avoid this prob?