I need to connect to db and grant rights of only db owner so as to prevent any security breach but at the same time , my application needs to run certain jobs,, for which i need sa rights. Please suggest a solution. how to go abt it.. I need to write a script to ask - to whom do we want to assign sa rights and dbo rights, using parameters as user and role.
SQLServer Login as sa vs dbo
Collapse
X
Comment