Hi, I understand its good practise to grant execute permissions to your stored procedure rather than the base tables. However when using dynamic SQL in a stored procedure it runs in its own security context meaning you need to grant SELECT rights on the base tables.
Does anyone know a way round this problem? that I can still use dynamic SQL without granting SELECT permissions on the base tables
Does anyone know a way round this problem? that I can still use dynamic SQL without granting SELECT permissions on the base tables