When should a stored procedure be created with caller's rights?
When should a stored procedure be created with caller's rights?
A stored procedure should be created with caller's rights when the stored procedure needs to run with the privileges of the role that called the stored procedure. This allows the procedure to execute with the permissions of the user invoking it, ensuring that the actions performed by the procedure adhere to the caller's access level and restrictions.
c is correct ==> https://docs.snowflake.com/en/sql-reference/stored-procedures-rights
C. When the stored procedure needs to run with the privileges of the role that called the stored procedure
Correct