SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 REFRESH CUBE command to Analysis Services from SQL
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rip.murdock
Starting Member

4 Posts

Posted - 08/31/2005 :  20:58:46  Show Profile  Reply with Quote
I’m trying to issue a refresh cube command to Analysis Services from SQL Server prior to issuing an MDX query.

When I use OPENQUERY like so,

SELECT * FROM OPENQUERY(mylinkedserver, 'Refresh Cube C7')

I get this error:
OLE DB provider 'MSOLAP.2' reported an error. Command was not prepared.
OLE DB error trace [OLE/DB Provider 'MSOLAP.2' IColumnsInfo::GetColumnsInfo returned 0x80040e4a: Command was not prepared.].

Any ideas on how I should prepare the command?
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000