Solved

Excel SQL data connection speed

Posted on 2014-10-06
4
692 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

617 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