Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Excel SQL data connection speed

Posted on 2014-10-06
4
Medium Priority
?
794 Views
Last Modified: 2014-10-07
I have my accounting data in an SQL table (SQL Express 2014) and I run queries on it from Excel 2007.
My largest table has approx. 100k records. I have set up an SQL connection in excel to load the complete table.
All I want in excel is the raw data held in the SQL table. On loading the SQL table approx. 50% of the time is spent with excel displaying "Adjusting Column Width Esc to cancel". If I hit escape the process stops and I can get access to all of the required data. Is there any way of removing stopping the "adjusting column width" process. Formatting of the SQL data is not required I only reference it from other excel sheets within the same workbook. The delay is not currently excessive on my existing hardware with the total time to load the SQL query being about 30 seconds. The issue however is that the table size is likely to grow to over 200k records and I would obviously like the loading/refreshing of data to be as fast as possible.
Thanks in advance
0
Comment
Question by:wsmyth
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
James Elliott earned 2000 total points
ID: 40365398
Right click on your data in excel and select table->external data properties. untick adjust column widths and anything else you don't need.
0
 

Author Comment

by:wsmyth
ID: 40365436
Excellent. I was trying to address the issue based on the initial query rather than looking at parameters that control the data refresh. Many thanks for your help
0
 

Author Closing Comment

by:wsmyth
ID: 40365437
Perfect!
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

Outlook for dependable use in a very small business   This article is about using the Outlook application (part of Microsoft Office) in a very small business, or for homeowners where dependability and reliability are critical requirements. This …
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

782 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