Importing XML graph from Excel to SQL

Posted on 2011-02-24
Medium Priority
Last Modified: 2013-11-05
We receive Excel sheets containing worksheets with graphs. We want to import the graphs into a SQL server database in a way we can reuse the graphs. For example in a report having the user selecting the graph from the SQL server database. We want to do this in a way we can reformat the graph (only letter type/style and colors).  So we don’t want to store the actual data and we don’t want to reproduce the graph using the report tool itself. Our idea is to save the graph using the XML format. But for us it is unclear at the moment if it is possible to store the Excel graph object using XML in a way we can reproduce the graph using SQL server and reporting services. We are using Excel 2007/2010, SQL server 2008 R2 (including reporting services). Maybe there are other options out there we can use? Please advise
Question by:Netwerkbeheer_AZL
1 Comment
LVL 40

Accepted Solution

lcohan earned 2000 total points
ID: 34970527
I believe you have two options:

1. import data and XML from excel into SQL where you could use XML data type then retrieve it in your app by using your own custom code or into EXCEL again
2. import EXCEL data into SQL and use SSRS to (re)build the reports/graphs

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

by Mark Wills PIVOT is a great facility and solves many an EAV (Entity - Attribute - Value) type transformation where we need the information held as data within a column to become columns in their own right. Now, in some cases that is relatively…
When writing XML code a very difficult part is when we like to remove all the elements or attributes from the XML that have no data. I would like to share a set of recursive MSSQL stored procedures that I have made to remove those elements from …
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.

624 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