Click here to Skip to main content
15,917,608 members
Home / Discussions / Database
   

Database

 
QuestionRetrieving sybase data from sql server 2005 instance Pin
basith55529-Jan-07 18:59
basith55529-Jan-07 18:59 
AnswerRe: Retrieving sybase data from sql server 2005 instance Pin
andyharman29-Jan-07 22:22
professionalandyharman29-Jan-07 22:22 
QuestionAccess SUM() Pin
myNameIsRon29-Jan-07 10:08
myNameIsRon29-Jan-07 10:08 
AnswerRe: Access SUM() Pin
Vasudevan Deepak Kumar29-Jan-07 22:24
Vasudevan Deepak Kumar29-Jan-07 22:24 
AnswerRe: Access SUM() Pin
andyharman29-Jan-07 23:40
professionalandyharman29-Jan-07 23:40 
GeneralRe: Access SUM() Pin
myNameIsRon30-Jan-07 19:07
myNameIsRon30-Jan-07 19:07 
GeneralRe: Access SUM() Pin
andyharman30-Jan-07 19:44
professionalandyharman30-Jan-07 19:44 
Questionlogin vs user Pin
Brendan Vogt29-Jan-07 5:13
Brendan Vogt29-Jan-07 5:13 
Hi,

I am using SQL Server 2005.

Can someone please explain to me the differenc between a login, and a database user?? I am working through a SQL book and they created a login, then a database user. Is the login always the same as the database user? If not then when will they differ? I have the following piece of code:

-- Create the login Peter
CREATE LOGIN Peter WITH PASSWORD='Abc123';

-- Change the connection context to the database AdventureWorks
USE AdventureWorks;
Go

-- Create the database user Peter, mapped to the login Peter in the database AdventureWorks
CREATE USER Peter FOR LOGIN Peter;

I hope someone can help me clarify this issue.

Regards
ma se
AnswerRe: login vs user Pin
Colin Angus Mackay29-Jan-07 5:42
Colin Angus Mackay29-Jan-07 5:42 
GeneralRe: login vs user Pin
Brendan Vogt29-Jan-07 8:20
Brendan Vogt29-Jan-07 8:20 
AnswerRe: login vs user Pin
Michael Potter29-Jan-07 5:44
Michael Potter29-Jan-07 5:44 
QuestionSQL syntax to alter a column in a table Pin
steve_rm29-Jan-07 3:53
steve_rm29-Jan-07 3:53 
AnswerRe: SQL syntax to alter a column in a table Pin
S Douglas29-Jan-07 4:30
professionalS Douglas29-Jan-07 4:30 
QuestionSqlAssembly Attribute Pin
Brady Kelly29-Jan-07 1:35
Brady Kelly29-Jan-07 1:35 
QuestionSQL 2005 Express - Import/Export Pin
Illegal Operation28-Jan-07 21:29
Illegal Operation28-Jan-07 21:29 
AnswerRe: SQL 2005 Express - Import/Export Pin
andyharman28-Jan-07 23:21
professionalandyharman28-Jan-07 23:21 
AnswerRe: SQL 2005 Express - Import/Export Pin
Aaron VanWieren29-Jan-07 4:59
Aaron VanWieren29-Jan-07 4:59 
Questionwhat is merge() and AcceptChanges() in ADO.net Pin
Vinay Dornala28-Jan-07 20:37
Vinay Dornala28-Jan-07 20:37 
AnswerRe: what is merge() and AcceptChanges() in ADO.net Pin
Parwej Ahamad28-Jan-07 21:01
professionalParwej Ahamad28-Jan-07 21:01 
QuestionConnecting to remote SQL Express Pin
Joe Smith IX28-Jan-07 6:46
Joe Smith IX28-Jan-07 6:46 
AnswerRe: Connecting to remote SQL Express Pin
blue_arc28-Jan-07 19:56
blue_arc28-Jan-07 19:56 
GeneralRe: Connecting to remote SQL Express Pin
Joe Smith IX28-Jan-07 22:28
Joe Smith IX28-Jan-07 22:28 
GeneralRe: Connecting to remote SQL Express Pin
Joe Smith IX1-Feb-07 5:51
Joe Smith IX1-Feb-07 5:51 
AnswerRe: Connecting to remote SQL Express Pin
S Douglas28-Jan-07 20:32
professionalS Douglas28-Jan-07 20:32 
AnswerRe: Connecting to remote SQL Express Pin
steve_rm29-Jan-07 4:03
steve_rm29-Jan-07 4:03 

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.