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


MDS - Business Rule -> Stored Procedure -> Insert/Update in another DB


MDS - Business Rule -> Stored Procedure -> Insert/Update in another DB

Author
Message
cs_source
cs_source
Say Hey Kid
Say Hey Kid (692 reputation)Say Hey Kid (692 reputation)Say Hey Kid (692 reputation)Say Hey Kid (692 reputation)Say Hey Kid (692 reputation)Say Hey Kid (692 reputation)Say Hey Kid (692 reputation)Say Hey Kid (692 reputation)

Group: General Forum Members
Points: 692 Visits: 194
Hello all,
I'm not sure if i'm posting this in the correct area however it is an MDS related question.

I have a business rule that essentially executes a stored procedure and that works great however the stored procedure does insert records into a table in another database and i'm not sure how to provide the user who is exploring (MDS_BR_USER) access to preform that function to the database and the specific tables?

Any insight or direction? Thank you!
sgmunson
sgmunson
SSC-Forever
SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)

Group: General Forum Members
Points: 43180 Visits: 5422
cs_source - Thursday, December 21, 2017 9:17 AM
Hello all,
I'm not sure if i'm posting this in the correct area however it is an MDS related question.

I have a business rule that essentially executes a stored procedure and that works great however the stored procedure does insert records into a table in another database and i'm not sure how to provide the user who is exploring (MDS_BR_USER) access to preform that function to the database and the specific tables?

Any insight or direction? Thank you!

Not sure exactly what you mean. Are you talking about granting INSERT rights on the table(s?) involved? Or are you talking about execution rights to the stored procedure involved? And as I have no experience with MDS, I can only guess that MDS_BR_USER is a table involved here in some way, but I don't know how. If you can explain in further detail, it would be helpful.

If it helps any, execution context is going to be what matters. The execution context of the user that runs the stored procedure is what matters where permissions are concerned, until you start using an application that does things, at which point it may not be the user that controls the execution context. Applications often do exactly that.


Steve
‌(aka sgmunson)
Smile Smile Smile
Health & Nutrition
cs_source
cs_source
Say Hey Kid
Say Hey Kid (692 reputation)Say Hey Kid (692 reputation)Say Hey Kid (692 reputation)Say Hey Kid (692 reputation)Say Hey Kid (692 reputation)Say Hey Kid (692 reputation)Say Hey Kid (692 reputation)Say Hey Kid (692 reputation)

Group: General Forum Members
Points: 692 Visits: 194
Hello sgmunson,

It was actually decided to not change security settings on the MDS permission. a SSIS flow was created to handle the dataset flow which works flawlessly Smile

Thanks for the reply!
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