Results 1 to 2 of 2
  1. #1
    jaik11 is offline Novice
    Windows 10 Access 2010 32bit
    Join Date
    Feb 2018
    Posts
    1

    Is there any way to import data from pass-through query into access db table?

    Hi,

    I am trying to import the pass-through query data into access database table.
    query has about 9.3m rows and its about 700mb with excel files.
    I was trying to do insert statement below, but giving me the data is too large message.

    Code:
    INSERT INTO Report
    SELECT *
    FROM PT_TEST_DATA;
    I do not have anything except pass-through query and empty table for the data import in my Access database.
    Is there any ways to make this import from pass-through query?



    Anything helps!

  2. #2
    ssanfu is offline Master of Nothing
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    "REPORT" is a reserved word in Access and shouldn't be used as an object name.
    If "REPORT" is the name of a table, rename it to something like "tblREPORT".

    Does the table you are trying to import the data into have the same number of fields and the same data types as the pass-through query? ("pass-through query" implies the data is from SQL Server/MySQL.)


    You might try selecting fewer records to see if the queries are working correctly. Try limiting the pass-through query to 1000 records and execute the append query.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 01-12-2017, 10:35 AM
  2. Replies: 14
    Last Post: 04-07-2016, 10:12 AM
  3. Replies: 3
    Last Post: 08-27-2014, 11:42 AM
  4. VBA - Import Excel Data into Access Table
    By sikhinvestor in forum Import/Export Data
    Replies: 2
    Last Post: 04-28-2014, 01:43 PM
  5. Update access table from a pass-through query
    By francesco in forum Access
    Replies: 3
    Last Post: 07-02-2012, 05:49 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums