Solved

Excel SQL data connection speed

Posted on 2014-10-06
4
620 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
4 Comments
 
LVL 12

Accepted Solution

by:
James Elliott earned 500 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

790 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