using a datasource to connect to a OLAP database/cube

  • Hi FOlks,

    I don't know too much about OLAP. Can you use a datasource (ODBC, .NET connection string) to connect to a OLAP database or cube?

  • I have tried this in .NET

    Dim ConnectionString As String = "Provider=MSOLAP.3; Data Source=localhost;Initial Catalog=OLAPDB;Integrated Security=SSPI"

    MDX

    -----

    Dim SelectQuery As String = "Select NON EMPTY [Dim Product].[Name].Members ON Columns,NON EMPTY [Dim Executives].[Hierarchy].[Territory] on Rows From [TESTCUBE] "

  • If you are looking for any type of help with creating connection strings then you should take a look at - http://connectionstrings.com/[/url]. With OLAP you have .NET, OLEDB, and ADOMD.NET.

    ----------------------------------------------------------------------------------------
    Dan English - http://denglishbi.wordpress.com

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply