Mdx query to xml

Posted on 2009-07-05
Last Modified: 2012-05-07
I have the same requirement, I need to put the mdx resultset to xml so that I can use it in flex.

As post suggest to create a stored procedure with universal table, I didnt not understand this comment, if possible can post the code for the stored procedure to create the xml using any sample example, it would be great help.
Question by:parveenh_123
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
  • 4
  • 3
LVL 57

Expert Comment

by:Raja Jegan R
ID: 24792296
Hope this helps:

Just encapsulate the SELECT query to a procedure so that the procedure creates an XML output.

Author Comment

ID: 24792431
I have gone through this, can you provide me one sample example and is it possible with mysql
LVL 57

Accepted Solution

Raja Jegan R earned 500 total points
ID: 24792496
I thought you are referring to SQL Server and I am not sure with MySQL.
Some other expert might help you out on this.
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.


Author Comment

ID: 24811642
Ok, Thanks
LVL 57

Expert Comment

by:Raja Jegan R
ID: 24811687
Kindly click on Request Attention button to request moderators to Include MySQL in your Question Zone, so that some other experts will visit this question and try helping you..

Author Comment

ID: 24820173

I resolve the issue.
LVL 57

Expert Comment

by:Raja Jegan R
ID: 24820326
You can post the solution here so that others who might visit this question will be benefited.

Kindly close this question accordingly since the issues is resolved.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

Many times as a report developer I've been asked to display normalized data such as three rows with values Jack, Joe, and Bob as a single comma-separated string such as 'Jack, Joe, Bob', and vice versa.  Here's how to do it. 
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how the fundamental information of how to create a table.

739 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