Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / April 2005

Tip: Looking for answers? Try searching our database.

Multiple Table Query

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Big Country - 07 Apr 2005 18:55 GMT
I receive a weekly csv report containing "package-level detail" for FedEx
shipments.  The reports contain 36 columns and, on average, 50,000 rows.  In
the past I would import each report into one table in Access.  The problem I
would run into is that the table would become too large and the database
would start giving me errors.  I would like to link the files to one database
and have a query that would search all the tables for specific critera and
return the results in one table.  Whenever I try to set up the query, it
always includes all the columns from each queried table in the new table.  I
thought I might try a cross-tab query, but I don't want to calculate the
fields.  What can I do?  Or do I need to do this in Sequel?  
John Vinson - 08 Apr 2005 00:22 GMT
>I receive a weekly csv report containing "package-level detail" for FedEx
>shipments.  The reports contain 36 columns and, on average, 50,000 rows.  In
[quoted text clipped - 6 lines]
>thought I might try a cross-tab query, but I don't want to calculate the
>fields.  What can I do?  Or do I need to do this in Sequel?  

It sounds like you should store the data all in one table, not one
table per file. You're limited to 2GByte in any single .mdb file, so
you'll hit the database-too-big limitation either way - in one table
or in multiple tables.

If you do want to keep the data externally in text files, you can use
a UNION query to string them together "end to end". Crosstab queries
will NOT help, and neither will a join query; see UNION in the offline
help.

Note that linking to external text files, and running UNION queries,
are both going to affect performance very negatively. However,
2,600,000 rows (a year's worth of files) is still within Access'
capabilities, unless each row contains an average of 800 odd bytes
(which would make this table push 2 GByte); are you certain that you
can't just run Append queries into one table, with regular compaction?

                 John W. Vinson[MVP]    
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.