SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


process dimensions and cubes from a folder


process dimensions and cubes from a folder

Author
Message
mikela83
mikela83
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 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?
Loner
Loner
SSCertifiable
SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)

Group: General Forum Members
Points: 6322 Visits: 3364
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
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search