
28-Jul-2006, 08:01 AM
|  | Guest | | | | | | | | | | SQL Server thread with Access and long queries We have a SELECT INTO query in Access that is Appending to an Access Table.
We have made sure that all /Temp folders have been cleaned up. The SELECT
INTO is going out to get SQL Server data via ODBC. The query in Access is
taking between 7 and 10 minutes. When we rip the query out of Access and run
it in Query Analyzer, it is taking 30 seconds. So we're pretty sure the query
is efficient. In both cases, it is returning 7,000+ rows.
Can anyone shed any light onto any thread issues that they have encountered Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/9337-sql-server-thread-access-long-queries.htmlReference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9337
between Access and SQL Server and how they went about resolving them???
Any help would be GREATLY appreciated.
Do share your immediate thoughts or reactions on this issue? We value your views! Login Now! or Sign Up Today! to share your views with us.. Gurfateh! | 
28-Jul-2006, 08:01 AM
|  | Guest | | | | | | | | | | Re: SQL Server thread with Access and long queries On Wed, 10 May 2006 09  02 -0700, wnfisba Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9337 wrote:
>We have a SELECT INTO query in Access that is Appending to an Access Table.
>We have made sure that all /Temp folders have been cleaned up. The SELECT
>INTO is going out to get SQL Server data via ODBC. The query in Access is
>taking between 7 and 10 minutes. When we rip the query out of Access and run
>it in Query Analyzer, it is taking 30 seconds. So we're pretty sure the query
>is efficient. In both cases, it is returning 7,000+ rows. Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9337
>
>Can anyone shed any light onto any thread issues that they have encountered
>between Access and SQL Server and how they went about resolving them???
>
>Any help would be GREATLY appreciated.
Are you appending into a local JET Access table, or a linked SQL
table?
If the local table, my guess is that you're running into the overhead
of updating the indexes on the table. It may be necessary to drop the
indexes, run the append, and then re-index the table. :-{(
John W. Vinson[MVP] | 
28-Jul-2006, 08:01 AM
|  | Guest | | | | | | | | | | Re: SQL Server thread with Access and long queries I have found it to be much quicker to run views and stored procedures on the
server instead of a query in access. Your local machine probably does not
have the horsepower of the server, and the traffic over the network slows it
down also.
"John Vinson" wrote:
> On Wed, 10 May 2006 09 02 -0700, wnfisba
> wrote:
>
> >We have a SELECT INTO query in Access that is Appending to an Access Table.
> >We have made sure that all /Temp folders have been cleaned up. The SELECT
> >INTO is going out to get SQL Server data via ODBC. The query in Access is
> >taking between 7 and 10 minutes. When we rip the query out of Access and run Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9337 Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9337
> >it in Query Analyzer, it is taking 30 seconds. So we're pretty sure the query
> >is efficient. In both cases, it is returning 7,000+ rows.
> >
> >Can anyone shed any light onto any thread issues that they have encountered
> >between Access and SQL Server and how they went about resolving them???
> >
> >Any help would be GREATLY appreciated.
>
> Are you appending into a local JET Access table, or a linked SQL
> table?
>
> If the local table, my guess is that you're running into the overhead
> of updating the indexes on the table. It may be necessary to drop the
> indexes, run the append, and then re-index the table. :-{(
>
> John W. Vinson[MVP]
> | 
Support Us! Become a Promoter! | | Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh! | (View-All)
Members who have read this thread : 0
| | There are no names to display. | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Tools | Search | | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is On | | | | » Gurbani Jukebox | Listen to Gurbani while surfing SPN! | » Active Discussions | | | | | | | ਨਾਮਾ Today 06:37 AM 2 Replies, 53 Views | | | | | | | | | | | | | | | | | | | | | | | » Books You Should Read... | | | |