dbTalk Databases Forums  

How to Access Analysis Server from SQL Server Transactional Database

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss How to Access Analysis Server from SQL Server Transactional Database in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
pavila
 
Posts: n/a

Default How to Access Analysis Server from SQL Server Transactional Database - 11-21-2006 , 04:04 AM






Hi there,

I have a SSAS project which its data is relevant to be accessed from a
strored procedure in T-SQL, SQL Server Transactional Database.

My approach was to extend SQL Server Transactional Database stored
procedures with CRL, in which by using ADOMD.NET I would access and
retrieve the information I needed.

Is this a good approach, can anyone give me a clue of how can I do
this?

Tks.
Pedro Ávila


Reply With Quote
  #2  
Old   
Ramunas Balukonis
 
Posts: n/a

Default Re: How to Access Analysis Server from SQL Server Transactional Database - 11-21-2006 , 06:13 AM






Try linked server



EXEC master.dbo.sp_addlinkedserver @server = N'OLAP_LT',
@srvproduct=N'Analysis Services 2005', @provider=N'MSOLAP',
@datasrc=N'xxx.xxx.xxx.xxx', @catalog=N'LT'



Ramunas

"pavila" <pedro.avila (AT) wissefinancial (DOT) com> wrote

Hi there,

I have a SSAS project which its data is relevant to be accessed from a
strored procedure in T-SQL, SQL Server Transactional Database.

My approach was to extend SQL Server Transactional Database stored
procedures with CRL, in which by using ADOMD.NET I would access and
retrieve the information I needed.

Is this a good approach, can anyone give me a clue of how can I do
this?

Tks.
Pedro Ávila



Reply With Quote
  #3  
Old   
pavila
 
Posts: n/a

Default Re: How to Access Analysis Server from SQL Server Transactional Database - 11-22-2006 , 03:47 AM



Hi,

Thank you for your tip.
However, since OPENQUERY doesn't support variables on its arguments I
will not be able to use it whenever a variable, like a time period, is
intended to be sent in the MDX query.

I've been struggling with assymetric keys, and all around it, to have
the SQL Server accessing the Analysis Server.

Any clue is welcome.
Tks.



Ramunas Balukonis escreveu:
Quote:
Try linked server



EXEC master.dbo.sp_addlinkedserver @server = N'OLAP_LT',
@srvproduct=N'Analysis Services 2005', @provider=N'MSOLAP',
@datasrc=N'xxx.xxx.xxx.xxx', @catalog=N'LT'



Ramunas

"pavila" <pedro.avila (AT) wissefinancial (DOT) com> wrote in message
news:1164103491.154482.28740 (AT) f16g2000cwb (DOT) googlegroups.com...
Hi there,

I have a SSAS project which its data is relevant to be accessed from a
strored procedure in T-SQL, SQL Server Transactional Database.

My approach was to extend SQL Server Transactional Database stored
procedures with CRL, in which by using ADOMD.NET I would access and
retrieve the information I needed.

Is this a good approach, can anyone give me a clue of how can I do
this?

Tks.
Pedro Ávila


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.