sql server 2005 Permissions with Windows Authentication - sql-server

I installed SQL Server 2005 Management Studio Express. When I login to the Database server using Windows Authentication.
I am unable to create tables or create databases. How do I grant the permissions for the users logged in as Windows Authentication to be able to create tables / databases?

In the Object Explorer look for the Security Folder at the top level.
Then under logins right click and choose properties of the user in question.
Grant them further access.

Related

Microsoft SQL Server Management Studio Permissions

Our software requires the business users (of the software) to have read and write access to the database (MS SQL Server). The users are added to an active directory group with this SQL permission. The business users also want to query the database as read only in SQL Server Management Studio. Is there a way that the user can have read write access to the database from the software and read only from the back end in SQL Server Management studio?
As the SQL server permissions are assigned to the Active Directory group, the users in the group will be able to have the same permissions irrespective of from where they are accessing the database (from the software or MS SQL server management studio)
The permissions cannot be changed based on from where the users are accessing the database

How do I add a Domain Group as Sysadmin on SQL Server 2008 Express

Let me describe whats happening. I have an application which requires SQL Server 2008 Express.
The application requires the AD-User to have sysadmin rights on the SQL Server. Both SQL and application is deployed using SCCM 2012 R2. My Problem is that when the SQL server is deployed it installs using the current user(System) as a sysadmin on the SQL Instance.
My application will not launch unless the Current user is a sysadmin. Is there anyway I can add an AD-group as a sysadmin on the SQL Server? Preferably using a command line (batch script).
IT worked with AD groups, turned out to be the strict password policy inherited by the domain and my user not having a strict password.
SQLSYSADMINACCOUNTS="ad\group"

How to add an administrator user of sql server analysis services 2008 R2 after the install?

I use Sql Server 2008 R2 and SSAS.
After install SQL Server 2008 R2 i joind to domain .
And After Login with my domain user i can not restore database in SSAS.
I get an error windows with this message :
database administrator or server administrator permissions are required to execute systemgetlogicalderives.
i add my domain user to security in MSDB but it not work ?!?
when i login with local user it work.
How i can fix it?
You need to connect to the analysis services instance using SQL server management studio (make sure you use the analysis services option on the connection dialog) as a user that already has administrative permissions on the SSAS instance (it should have asked for a user/group when you installed SSAS)
Then once you are connected, right click on the server, select properties, then security. You can then add more users or groups to the server administrator role from here.

sql server login windows authentication

I am new to sql server express and i installed sql server express 2008 R2 with windows authentication as an administrator of the machine.
My objective is to create a database, run some scripts to create tables and data and connect to this database from an asp application.
I created a new database abc with owner as default.
I create a new login and lets call it bob with sql server authentication.(am i doing it right?) Here i chose default database for that login as abc
THen i created a new user (same name bob) within the folder of my database and mapped to the existing login bob.
Is what i am doing right???
when i try to connect through sql server management studio with sql server authentication and entered the username and password for the user bob, i get an error saying that i cant connect.
please clarify what steps i am missing.
Thanks.
As I understand your question, your server uses Windows authentification, but you are trying to connect using SQL Server autentification.
If you need to connect using SQL Server authentication, you need to turn it on. In SQL Server Management Studio (SSMS), select this instance, select Properties, and then on Security tab check the "SQL Server and Windows Authentication mode".
After that you need to restart the SQL Server service (using SSMS or Services from Administrative Tools).

SQL Server: Is there a way to grant execute using GUI?

Is there a way to grant execute permissions for a role or a user using GUI (not T-SQL)? I'm using SQL Server 2008 SP1.
Yes, there is a way. Use Permissions page of Database Properties window.
Once database properties windows is displayed, follow steps 1-4 and press OK.
Using steps A, B you can verify it is creating exactly the expected GRANT EXECUTE TO command.
Check out Microsoft SQL Server Management Studio.
It is part of the SQL Server Client Tools package but there's also a free version called Microsoft SQL Server Management Studio Express.
Related resources:
How to grant Permissions on a Stored Procedure (SQL Server Management Studio)
Permissions (SQL Server Database Engine)

Resources