?
Solved

Improve Query Performance

Posted on 2011-03-09
6
Medium Priority
?
634 Views
Last Modified: 2012-06-21
I have a a Excel 2007 spreadsheet that using SQL queries from an Oracle database. I then use MS Access 2007 linked tables to retrive data from this workbook and to create further queries. I then use Crystal Reports 8 to report on the Access database using a simpe filter and sub reports. As you would imagine this query is quite slow.

What is the best method\ syntax to add indexes to either or both the Excel spreadsheet and MS Access database to improve performance. I do not have update capability on the Oracle database.
0
Comment
Question by:JayceW
6 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 1050 total points
ID: 35083688
"As you would imagine this query is quite slow. "

Which query are you referring to?


Subreports in crystal can be slow in some cases.
0
 

Author Comment

by:JayceW
ID: 35083787
I am referring to the Crystal report.

As you say I appreciate that they can be slow. This one however takes over 3 hours to complete so I am looking at potential ways to accelerate the query at the Worksheet\ MS Access database level.

0
 
LVL 77

Assisted Solution

by:peter57r
peter57r earned 1050 total points
ID: 35083867
Can you post the sql being used by crystal .
(Database> show sql query)
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
LVL 85

Expert Comment

by:Rory Archibald
ID: 35084232
Why does Excel need to be involved in this process?
0
 
LVL 101

Assisted Solution

by:mlmcc
mlmcc earned 450 total points
ID: 35084920
Can you use Crystal directly against the Oracle database?

mlmcc
0
 

Author Closing Comment

by:JayceW
ID: 35094176
An Error in my joni criteria solved the issue but the comments were useful
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question