Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Excel SQL data connection speed

Posted on 2014-10-06
4
Medium Priority
?
746 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 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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
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.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

704 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