Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 441
Default Make Table Query limitation

I am using Office 2003 on Windows XP.

I love the make-table query (Select...Into) that is so championed by Jamie
Collins, and at first I viewed it as a potential panacea to all my data
transfer woes. But in working with the MTQ with Oracle I seem to have quickly
found a limitation - at least on my system.

I find that when running a MTQ in MS-Excel against Oracle into an MS-Access
table, there is roughly a 10,000 record ceiling. If a query returns many more
records than that (and also sometimes several thousand fewer) the query may:

Just quit mid-stream without generating any errors:

1. Sometimes some of the records are returned;
2. Sometimes no records are returned;
3. Seldom times (about 2 out of 10 attempts) the query actually completes.

I have the ADO CommandTimeout set to zero. The query tested returns 57,623
rows/records by 22 columns/fields and when successful, it runs in about 6
minutes. I have noticed in clocking it when using a recordset, that it
usually takes about 3 minutes to return the data. Coincidentally, if the make
table query just quits - it is usually at about the 3 minute mark - i.e. when
it is time to make the table in Access.

Has anyone else confronted issues such as this? Could this be the result of
my code structure/syntax (I can post the SQL if anyone wants to see it)?
Could it be related to our network and traffic issues? Any ideas?

Thanks much for reading all this, but I couldn't find a way to make it more
brief without losing a complete explanation. Thanks in advance for your
replies.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 593
Default Make Table Query limitation


quartz wrote:
I find that when running a MTQ in MS-Excel against Oracle into an MS-Access
table, there is roughly a 10,000 record ceiling.


How are you connecting to the databases? Presumably your ADO connection
is to the target Access database. Are you connecting to Oracle via an
odbc connection embedded in the commandtext e.g.

SELECT *
INTO NewAccessTable
FROM [odbc;Driver=etc etc].OracleTable;

Are you using linked tables at all? Are you querying Oracle base
tables/VIEWs or invoking a stored proc?

Jamie.

--

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 593
Default Make Table Query limitation


quartz wrote:
I am using Office 2003 on Windows XP.


Which version of Jet are you using (e.g. Jet 4.0)? Have you checked the
odbc connection timeout in the registry e.g.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engi nes\ODBC\ConnectionTimeout

Jamie.

--

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Make table query will work in datasheet view but will not make tab WildlyHarry Excel Discussion (Misc queries) 0 August 28th 07 03:06 PM
Make table query works intermittently quartz[_2_] Excel Programming 2 September 14th 05 09:16 PM
Make Table Query into Text File XP Excel Programming 0 September 14th 05 03:38 PM
Use Excel to make an update query to another database table? Reigning in Seattle Excel Discussion (Misc queries) 2 April 14th 05 06:25 PM
Copy recordset from an Access "make table" query Laurie[_4_] Excel Programming 1 February 5th 04 09:45 AM


All times are GMT +1. The time now is 01:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"