Today I have accidentally given access to a user using the grant option by issuing the Grant sql command.
GRANT VIEW ANY DATABASE TO username;
I have immediately realised that I didn't want to give access to that user and hence I had to revoke the permissions.
REVOKE VIEW ANY DATABASE From username;
Thought I would document this here so that any one doing the same would benefit from this.
Also there is a With Grant option that you can use while using Grant option.
The main difference between Grant and With Grant option is that --
If only GRANT is used, the user cannot grant the same permission to other users.
At the beginning of this month, I received an email from #microsoft telling me that I have received the Most Valuable Professional (MVP Awa...
This morning I was trying to call a stored procedure and insert the results in a temp table using the following code -- create table #...
In this post I would like to share my experience of migrating our Reporting server from sql server We installed SQL SERVER 2017 on...
Today I was trying Node.js to connect to SQL Server, the connection to the sql server failed with the below error. name: 'ConnectionE...