make table query hangs

G

Guest

Access 03/WinXP. When running a make-table query, the query just hangs - no
errors. When running the same query as a select query, the data displays
properly. The query is based on linked tables - Sybase. Any suggestions???
 
G

Guest

Hi,
When you run the query as a select query, can you scroll to the last
row?? I think that you might just have a very long running query.
 
J

John Vinson

Access 03/WinXP. When running a make-table query, the query just hangs - no
errors. When running the same query as a select query, the data displays
properly. The query is based on linked tables - Sybase. Any suggestions???

How big is the table? Are you using the query to import a Sybase table
into Access (in which case File... Import might be better), or are you
trying to create a new Sybase table? More details please!

John W. Vinson[MVP]
 
G

Guest

When running the query as a select query, it displays quickly and I am able
to move to view the last record. I have been able to create a make-table
query from the same linked tables with fewer records. When trying to create
the make-table query for a whole month's worth of data is when it takes a
long time. So, maybe it is just that there is so much data that it is taking
a long time rather than it not working at all. If that is the case (I'm
letting the query run now), are there any settings that can be changed to
speed up the query?
 
J

John Vinson

When running the query as a select query, it displays quickly and I am able
to move to view the last record. I have been able to create a make-table
query from the same linked tables with fewer records. When trying to create
the make-table query for a whole month's worth of data is when it takes a
long time. So, maybe it is just that there is so much data that it is taking
a long time rather than it not working at all. If that is the case (I'm
letting the query run now), are there any settings that can be changed to
speed up the query?

MakeTable queries are inherently inefficient - Access must often guess
at field sizes, and even datatypes. Consider instead creating a
permanent table, with proper field types and sizes, and as few indexes
as you can manage (updating indexes can be a bottleneck). Rather than
deleting the table and running a MakeTable monthly, empty the table
with a Delete query, compact the database, and run an Append query
from your Sybase data.


John W. Vinson[MVP]
 
G

Guest

It took about 30 minutes for the make table query to create a table with 51
records. What suggestions do you have to speed this up?
 
J

John Vinson

It took about 30 minutes for the make table query to create a table with 51
records. What suggestions do you have to speed this up?

See my answer posted 12/19.

John W. Vinson[MVP]
 

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