Requirement:
User A can log in to SS instance, but only has access to database X. User A has no other access to any objects.
database X has a stored_proc called "sp_exec_dml" which takes a DML string and executes it. This stored proc would(should?) run as the owner X.
does database X, or the stored procedure ""sp_exec_dml" then need access to other dbs/objects.
for example
user A executes
exec x..sp_exec_dml N"update z..table set ..................."
I hope this makes sense. I come from an Oracle background so exactly how permissions are granted and who the grantees can be is confusing.
do databases or stored procedures have access granted to them
thanks
If database X has "table" in
then the user should have access.