jskfan
asked on
Access to SQL Database to run queries.
Access to SQL Database to run queries.
I would like to know how to give permissions to a specific user to access specific database and be able to run all queries.
I also would like to know which tool the user will use to run the queries on.
Thank you
I would like to know how to give permissions to a specific user to access specific database and be able to run all queries.
I also would like to know which tool the user will use to run the queries on.
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you Guys!!
I will test later when I get a chance
I will test later when I get a chance
https://www.microsoft.com/en-us/download/details.aspx?id=53591
https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver15
For instance the tsql below would grant "read-only" access to all tables/views from the YourDBnameHere database to the UserName login/user. ideally if users have AD logins part of a AD Group you will need to add that AD group to SQL and grant the group level access so you don't need to run commands like below for each individual user.
Open in new window