Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a new user called cis605_usr. Use Master. assign a password of abcd, set check_policy to off and check_expiration to off (Why set these two

Create a new user called cis605_usr. Use Master. assign a password of ‘abcd’, set check_policy to off and check_expiration to off (Why set these two to off?). Execute the sp_addsrvrolemember to add the server login name to cis605_usr and the server role name to sysadmin.

To verify that the user was created click on security/Logins in the Object Explorer as shown below.

student submitted image, transcription available below

*****

2. Grant database cis605 access to cis605_usr using an sp procedure.

To verify that the user was created click on security/Users for database cis605 as shown below.

student submitted image, transcription available below

*****

3. Grant create table, procedure, select to cis605_usr for database cis605.

Add the with grant option to create table for cis605_usr.

*****

4. Grant all defined permissions for database cis605 to cis605_usr.

*****

5. Write a query to display the name, createdate, dbname, has access, and loginname columns using syslogins and matching on cis605_usr created above.
 
 

T BUDSTUTTETEMP\MSS2012XE (SQL Server 11.0.3153 - BELLEVUE\stutte) Databases Security Logins ##MS_PolicyEventProcessingLogin## &##MS_PolicyTsqlExecutionLogin## BELLEVUE\Stutte BUILTIN\Users cis605_usr MyNewAdminUser NT AUTHORITY\SYSTEM NT Service\MSSQLSMSS2012XE NT SERVICE\SQLWriter NT SERVICE\Winmgmt & sa tom Server Roles +

Step by Step Solution

There are 3 Steps involved in it

Step: 1

1USE master GO Create the login with password abcd and set CHECKPOLICY and CHECKEXPIRATION to OFF CREATE LOGIN cis605usr WITH PASSWORD abcd CHECKPOLICY OFF CHECKEXPIRATION OFF GO Add the server login ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 11G SQL

Authors: Joan Casteel

2nd Edition

1133947360, 978-1133947363

More Books

Students also viewed these Operating System questions

Question

Define a one-to-many relationship.

Answered: 1 week ago

Question

How effectively they and their people please customers

Answered: 1 week ago