dbTalk Databases Forums  

Cube LastProcessed time from a stored procedure

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


Discuss Cube LastProcessed time from a stored procedure in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Henrik Skak Pedersen
 
Posts: n/a

Default Cube LastProcessed time from a stored procedure - 01-05-2005 , 01:41 PM






Hello,

Is it possible to retrieve the LastProcessed time of a cube from a stored
procedure?

Best regards

Henrik Skak Pedersen



Reply With Quote
  #2  
Old   
Dave Wickert [MSFT]
 
Posts: n/a

Default Re: Cube LastProcessed time from a stored procedure - 01-05-2005 , 06:38 PM






Not easily. It is available as a DSO property, so one way would be to write
a COM object (let's say in VB) which looks up the value using DSO -- and
call the component via sp_oaXXX.

A backdoor would be to access the repository directly and parse the XML
located there.

Or to use the data/time stamp on the data files in the Data folder structure
on-disk.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Henrik Skak Pedersen" <notavailable (AT) nothing (DOT) com> wrote

Quote:
Hello,

Is it possible to retrieve the LastProcessed time of a cube from a stored
procedure?

Best regards

Henrik Skak Pedersen





Reply With Quote
  #3  
Old   
Helma Schapendonk-Maas via SQLMonster.com
 
Posts: n/a

Default Re: Cube LastProcessed time from a stored procedure - 01-06-2005 , 01:53 AM



I try to understand DSO but it's difficult. VB and sql is not a problem. Can you give me an example of the code you can use to get LastProcessingtime?

--
Message posted via http://www.sqlmonster.com

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.