Results 1 to 4 of 4
  1. #1
    shabar is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jan 2013
    Posts
    66

    Query Performance Clarification

    Hi All

    If run below query does it effect to performance or can I straightway use the query(T2) to link with other tables and get results


    Here T2 is a saved query

    SELECT * INTO T1 FROM T2

    What the difference?


    Appreciate your clarification


    Cheers

    Shabar

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    I don't understand what you want. That looks almost like a make table query but don't think syntax is correct. Why duplicate records from T2 into T1?

    Yes, queries can be used in queries.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    shabar is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jan 2013
    Posts
    66
    Hi June7

    Sorry for the confusion

    What I meant was, Here T1 is a query where I extracted several columns from different tables. Assume saved query work as a View in access

    Select T2.* INTO [T1] from T2

    If I want to join above T2 with some other table and get some results, performance wise what would be the best option.

    - Use the saved query(T2) straightway OR
    - create a new table (T1) with that data and then run the wanted query


    Hope this will clear to some extent


    Cheers

    Shabar

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    If T2 is a simple SELECT query I don't think performance would be much different if saved to a table. You could test this out. Try the table approach and try using T2 in another query.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. clarification with transfer commands
    By mike02 in forum Access
    Replies: 7
    Last Post: 08-08-2012, 09:37 AM
  2. Query Performance
    By bginhb in forum Queries
    Replies: 2
    Last Post: 03-29-2012, 10:22 AM
  3. Query Performance
    By GBa in forum Queries
    Replies: 3
    Last Post: 01-03-2012, 03:33 PM
  4. Query performance on different computer
    By nickevans1979 in forum Queries
    Replies: 2
    Last Post: 07-26-2011, 03:16 PM
  5. Update Query Performance Issue
    By Amber_1977 in forum Queries
    Replies: 2
    Last Post: 12-07-2010, 08:36 AM

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