Make-table query with around 2 ml records taking too long

Joined
Oct 4, 2012
Messages
1
Reaction score
0
Hi all,

I have been struggling for a few days to build a functioning query. I actually managed to make it work for a smaller set of data but I'm using the following function:

RankOfDup: (SELECT Count(*) FROM
WHERE [field1]=
.[field1] And [field2] >=
.[field2])

which I believe slows my query, if I do select query it runs for around 2 minutes but if I try to make table it never executes.

The reason I need make query is that after this I need to create Crosstab query that basically turns the ranks from rows into columns. I tried to create the crosstab using the select query with the RankOfDub but it gives an error that the the database doesn't recognise a field.

Any ideas how I can make this work for large set of data, ie rank the rows and turn them into crosstab?

If anything is unclear please ask questions and I will explain.

Thank you very much, I hope someone can help!
 

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