Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

process dimensions and cubes from a folder Expand / Collapse
Author
Message
Posted Thursday, October 25, 2007 10:23 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, March 5, 2008 3:42 AM
Points: 1, Visits: 17
Hello all!

I have a number of dimensions and cubes, and I have scheduled them to be processed every week through a SQL Server Agent Job. I want it to be independent of how many dimensions I have, so I created a table with the dimension nameId, and a stored procedure that reads the name from that table and executes the dimension.

The problem is the following:
I need it to be completely automatic, without the need to write the dimension nameId into the table. So, how can I do it?
I would like to say, process all the dimensions and cubes from that folder. Is it possible? Can I do it from a DTS, from a stored procedure?
Post #415038
Posted Friday, October 26, 2007 12:52 PM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Yesterday @ 7:42 AM
Points: 2,837, Visits: 3,114
I want to know about the job, how do you control when to stop processing ?

This is just a thought of processing the dimension table automatically.

1. Procedure to read the table that has all the dimension table name. Execute the DTS package to load the data into the dimension table with the name of dimension table as global parameter of the DTS package.

2. Inside the DTS Package, get the dimension table name from the global variable. Process another stored procedure to load the data into the table.

my 2 cents
Post #415591
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse