x

CREATE USER ISSUES

What are the advantages and disadvantages of using these kinds of logins.

   CREATE USER [ABC] WITHOUT LOGIN WITH DEFAULT_SCHEMA=[ABC]
   GO

Any help is appreciated.

more ▼

asked Apr 27, 2010 at 02:51 PM in Default

Katie 1 gravatar image

Katie 1
1.4k 132 163 202

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

You might create this kind of user as part of standardizing an application.

You create a MyApp user that isn't tied to a login and grant it permissions in a database. You can then impersonate this user from a different login.

more ▼

answered Apr 27, 2010 at 03:23 PM

Blackhawk-17 gravatar image

Blackhawk-17
11.9k 28 31 37

Thank you Black hawk. I have not seen this kind of login previously, but is it safe to move with these users to production and test environments. The moment i create this user.. the default access its getting is DBO. soo wondering if i should advice to create such kind of logins.
Apr 27, 2010 at 03:44 PM Katie 1
Any created user will use the DBO schema if none is defined for them in the create user statement.
Apr 27, 2010 at 05:12 PM Blackhawk-17
(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x1850
x126
x86

asked: Apr 27, 2010 at 02:51 PM

Seen: 1083 times

Last Updated: Apr 27, 2010 at 02:51 PM