Does XML support MDX Query.? - mdx

I'm doing reports using XML. Does XML support MDX Query?

Check out XMLA - "XML for analysis" for further information about this, your question is a little vague to help you further.

Related

XSD to SQL Server conversion

I have a question in regards to the SQLXML for SQL Server.
My assignment is to convert an XSD file so that it magically "becomes" tables in the SQL Server database. I've looked around everywhere, on all the links I could possibly find, but nothing clicks. Everything is like a half-step of what I need to achieve.
I am not too familiar with Visual Studio, haven't done much else than running database queries and all the stuff one likes to do in a SQL Server database. Except for XML.
I figured that SQLXML from Microsoft's MSDN would be a good tool to have (and I believe it's already installed).
Any tips or solutions?
Thanks.
There's no magic involved, and as it's homework/study I won't detail how to do it myself, but if you direct your research towards SQL's Bulk Load functionality it would seem to be what you need.
Read this article for a brief "how to" guide.
Or this article for a detailed description of how to use it.
You can convert XSD to SQL using this approach https://github.com/ujhgj/xsd2sql
But I'm not sure of SQL dialect. That thing worked for Mysql.

SQL Intellisense in WPF Textbox

I am building an application which contains Textbox. I want the Textbox to act just like SQl Server Editor with intellisense. I need help, can i make my Textbox act like a Sql Server Query Editor WITH Intellisense.
What you want cannot be easily achieved on the fly. You have to prepare the following,
Syntax highlighting support so SQL statements can be displayed beautifully.
SQL parser, so that you can provide auto completion suggestions.
You might start from AvalonEdit which is an excellent control that help implement syntax highlighting,
http://www.codeproject.com/Articles/42490/Using-AvalonEdit-WPF-Text-Editor
https://github.com/icsharpcode/SharpDevelop/wiki/AvalonEdit
However, I think it is still your responsibility to write the SQL parser (as #Alexander suggested) and then integrate with AvalonEdit.
Phil Factor worte an excellent blog post at SimpleTalk.com on how to parse SQL using Microsoft's SQLParser with PowerShell. At the top of the post, he has included a link to Dave Ballantyne's Cleaning Up SQL Server Deployment Scripts article, which explains how to obtain SQLParser & further work with it.
While not very specific, hopefully that will at least get you off in the right direction!

Multidimensional Data MDX

Can somebody please tell me what multidimensional data means? I need tom consume data from a Data Cube [SSAS] MDX Query and populate it in a win form, any know hows?
Dinesh
You can start by reading a quick tutorial to MDX : Gentle introduction to MDX
After you'll need a library to access your OLAP server (In Java Olap4J, in .NET you've ADOMD)

SQL - Parsing a query

I worked on a parser for arithmetic expressions.
The key there was building a syntax tree, where leaves are variables and nodes are operators.
Not I'm thinking about parsing SQL queries. Parsing simple select won't be a problem, but I'm not pretty sure about the complex queries.
Can you point me to a good reference about sql parsing. Thank you in advance!
Take a look at the SQL BNF grammars
Some codesamples:
Look at sourceforge Open SQL parser.
There was a question for sql parser library before. Look there.
I'm not sure if you know C# or .NET, but LinqToSql basically does this by building expression trees that are then executed only when the query is 'called'.

SQL query against a web page(or, advanced find)

Suppose I have a table. Now, I'm interested in Getting Useful Data Easily. This means I'd rather not drop it into Excel and go through contortions, nor somehow get it into CSV and then into a DB, and then into SQL.
I'd like to be able to execute a SQL query directly against a table in HTML.
Has anyone heard of a tool like this before? I've never seen one.
There's no tool to query an HTML table with SQL as far as I know, but XQuery is a standard language you can use to find elements in an XML or XHTML source in a manner very similar to using SQL to query databases.
No, there is absolutely no tool that lets you run SQL queries against an HTML table... but you could easily write some simple JavaScript if you had a specific query you wanted done.