Click here to Skip to main content
15,892,768 members
Home / Discussions / Database
   

Database

 
GeneralPreparing SQL for Insert Pin
FruitBatInShades30-Nov-03 23:34
FruitBatInShades30-Nov-03 23:34 
GeneralRe: Preparing SQL for Insert Pin
Mike Dimmick1-Dec-03 3:43
Mike Dimmick1-Dec-03 3:43 
GeneralRe: Preparing SQL for Insert Pin
Sean McCormack3-Dec-03 3:01
Sean McCormack3-Dec-03 3:01 
Generalrows in nested relationship couldnt be deleted Pin
meroo30-Nov-03 18:47
meroo30-Nov-03 18:47 
GeneralSql query question Pin
pankajdaga30-Nov-03 3:26
pankajdaga30-Nov-03 3:26 
GeneralRe: Sql query question Pin
Ian Darling30-Nov-03 3:50
Ian Darling30-Nov-03 3:50 
Generalserver explorer Pin
Member 72360328-Nov-03 23:48
Member 72360328-Nov-03 23:48 
GeneralRe: server explorer Pin
Mike Dimmick1-Dec-03 6:44
Mike Dimmick1-Dec-03 6:44 
If Integrated Security is set to SSPI, MSDE uses Windows Authentication - it takes your system logon credentials as being the credentials to log on to the database with. If you don't set Integrated Security, you must provide a username and password.

In the Integrated Security mode, MSDE uses the local system's Windows password database if the connecting process is using a local account, or contacts the domain controller if using a domain account. In the Mixed Mode ('Use a specific user name and password'), the user names and passwords are stored in MSDE's msdb database. The MSDE install defaults to Windows Authentication mode - an attempt to connect without using Integrated Security fails.

Integrated Security is generally considered to be more secure than specifying a username and password in a connection string.

Even this isn't the whole story, because logins (how you connect to the server) are mapped to server roles on a per-server basis (which control things like being able to BULK INSERT, adding other users, shut down the server), and to users at a database level. Users can be granted permissions to create tables, select data, insert data, execute stored procedures, etc. SELECT, INSERT, UPDATE and DELETE permission is granted on a per-table basis; EXECUTE permission is on a per-procedure basis.

To simplify managing users, databases also have roles, which are the equivalent of Windows groups. Roles and users can be either be Granted permission, explicitly Denied permission, or neither. If a user or one or more of their roles has Grant permission, and neither the user nor any roles have Deny permission, permission is granted. This allows you to say 'Grant all members of the public role permission, except Bill'.

The system comes initially configured with BUILTIN\Administrators (the Administrators group on the local machine) and sa logins, which are both made members of the Server Administrators server role. They are both mapped to the 'dbo' user in the master and model databases; dbo is a member of the public and db_owner roles in these databases. By default public has no permissions granted or denied; db_owner has all permissions granted (this cannot be altered).

If you have the full SQL Server, I recommend using Enterprise Manager to edit configurations. Otherwise, you need to look at the sp_addlogin and sp_grantlogin system stored procedures, for starters.
Generali want to del a row from nested relationship Pin
meroo28-Nov-03 6:35
meroo28-Nov-03 6:35 
GeneralRe: i want to del a row from nested relationship Pin
Husein29-Nov-03 9:41
Husein29-Nov-03 9:41 
Generali want to del a row from data grid Pin
kings_128-Nov-03 6:04
kings_128-Nov-03 6:04 
QuestionHow to retrieve image data with MSDE Pin
parag28-Nov-03 1:20
parag28-Nov-03 1:20 
Generalstoring passwords ! Pin
ranjjj27-Nov-03 18:45
ranjjj27-Nov-03 18:45 
GeneralRe: storing passwords ! Pin
Vasudevan Deepak Kumar27-Nov-03 20:40
Vasudevan Deepak Kumar27-Nov-03 20:40 
GeneralRe: storing passwords ! Pin
Steve S8-Dec-03 0:28
Steve S8-Dec-03 0:28 
Questionwhat is the max length of ADO command string? Pin
gowinder27-Nov-03 14:42
gowinder27-Nov-03 14:42 
QuestionHow to change the displaying sequence of columns in a DataView Pin
itismydick26-Nov-03 20:48
itismydick26-Nov-03 20:48 
AnswerRe: How to change the displaying sequence of columns in a DataView Pin
Husein29-Nov-03 9:46
Husein29-Nov-03 9:46 
Generalsql stored proc Pin
ranjjj26-Nov-03 19:09
ranjjj26-Nov-03 19:09 
GeneralRe: sql stored proc Pin
Mike Dimmick27-Nov-03 5:27
Mike Dimmick27-Nov-03 5:27 
Generalsql stored proc Pin
ranjjj26-Nov-03 19:09
ranjjj26-Nov-03 19:09 
GeneralSQL Statement with Dates in ASP Pin
AGeNt7eVeN26-Nov-03 13:36
AGeNt7eVeN26-Nov-03 13:36 
Generalxmsgsp_helprotect Pin
ranjjj25-Nov-03 23:42
ranjjj25-Nov-03 23:42 
GeneralTroublesome Query Pin
DEWright_CA25-Nov-03 17:58
DEWright_CA25-Nov-03 17:58 
GeneralRe: Troublesome Query Pin
Roger Wright25-Nov-03 21:26
professionalRoger Wright25-Nov-03 21:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.