Or do they need to be granted to delete a record from a table only when they execute a query which is not a stored procedure?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, and that’s one of the reasons you can abstract such operations into a stored procedure.
All the user needs is
EXECpermission granted on the stored procedure. This is because the author of the stored procedure is assumed to have allowed only valid cases of deleting the records from the table.Right, they need
DELETEpermissions on the table to delete a record usingDELETEDML operation.