I am trying to create a Stored Procedure in Azure Synapse Dedicated Pool, but I am facing an error. I don't know much about Transact-SQL and Synapse l ...
I am trying to create a Stored Procedure in Azure Synapse Dedicated Pool, but I am facing an error. I don't know much about Transact-SQL and Synapse l ...
I have a user which I gave grant access to credential using: GRANT ALTER ANY CREDENTIAL TO userA When I log in with that user, the following return ...
I am trying to create a stored procedure that creates a job and step programmatically and runs it. This works, but I also need to impersonate a user a ...
Consider this code: On every table, there is a security policy that doesn't allow change of the TenantId column on the table other than the one tha ...
I am using SYS.DM_EXEC_SESSIONS to get all active SQL Server connections from my system. I know that if the logged user has no VIEW SERVER STATE permi ...
I have a stored procedure that has EXECUTE AS another user that has very restricted access. I cannot get the results from OBJECT_NAME(@@PROCID) when I ...
One privileged scheduler user - user1 receive email notifications while two another (user2, user3) no. I want to execute code below on user3 schema, ...
We have some SQL Agent jobs running in our product. But we want to do away with SQL server agent so that we can use Sql server express. So I am writin ...
I created a stored procedure which performs a series of operations that require special permissions, e.g. create database, restore database, etc. I cr ...
I've just started looking at a system that implements security a little differently to the norm. They create a new SQL user for each user of the syst ...