Click here to Skip to main content
16,005,120 members
Home / Discussions / Database
   

Database

 
GeneralRe: Visio - Reverse Engineering > Code Generation Pin
devvvy29-Mar-06 4:37
devvvy29-Mar-06 4:37 
QuestionCan i use view Pin
papa198027-Mar-06 22:57
papa198027-Mar-06 22:57 
QuestionCreating a new user in SQL Server 2005 Pin
Brendan Vogt27-Mar-06 22:33
Brendan Vogt27-Mar-06 22:33 
Questiondaab transaction Pin
silverP27-Mar-06 22:08
silverP27-Mar-06 22:08 
QuestionHow to restore Backup file from remote PC to SQL Server? Pin
Sachin Gedam27-Mar-06 17:35
Sachin Gedam27-Mar-06 17:35 
Questionquery send between .net and ms access Pin
agentmikie27-Mar-06 13:03
agentmikie27-Mar-06 13:03 
QuestionHow to get Windows NT Logged User Name using Query Analyzer ****** URGENT Pin
GV Ramana27-Mar-06 8:51
GV Ramana27-Mar-06 8:51 
AnswerRe: How to get Windows NT Logged User Name using Query Analyzer ****** URGENT Pin
Eric Dahlvang29-Mar-06 8:50
Eric Dahlvang29-Mar-06 8:50 
Use the following in the query analyzer to get the current login and current user.
print 'This session''s current login is: '+ SUSER_SNAME()
print 'This session''s current user is: '+ SESSION_USER

To create a login that uses Sql Server Authentication, look in SQL Server Books Online online for "sp_addlogin":
--SQL Server Books Online--
sp_addlogin
Creates a new Microsoft® SQL Server™ login that allows a user to connect to an instance of SQL Server using SQL Server Authentication.

Syntax
sp_addlogin [ @loginame = ] 'login'
[ , [ @passwd = ] 'password' ]
[ , [ @defdb = ] 'database' ]
[ , [ @deflanguage = ] 'language' ]
[ , [ @sid = ] sid ]
[ , [ @encryptopt = ] 'encryption_option' ]

If this doesn't answer your question, maybe look up "Authentication Modes" in the SQL Server Books Online.

----------
There go my people. I must find out where they are going so I can lead them.
- Alexander Ledru-Rollin

Questionline1 : Incorrect syntax near ','. Pin
Amit R27-Mar-06 5:38
Amit R27-Mar-06 5:38 
AnswerRe: line1 : Incorrect syntax near ','. Pin
rccnh27-Mar-06 9:30
rccnh27-Mar-06 9:30 
AnswerRe: line1 : Incorrect syntax near ','. Pin
rccnh27-Mar-06 9:33
rccnh27-Mar-06 9:33 
GeneralRe: line1 : Incorrect syntax near ','. Pin
Amit R27-Mar-06 14:11
Amit R27-Mar-06 14:11 
AnswerRe: line1 : Incorrect syntax near ','. Pin
Rob Graham27-Mar-06 16:01
Rob Graham27-Mar-06 16:01 
AnswerRe: line1 : Incorrect syntax near ','. Pin
Amit R29-Mar-06 3:37
Amit R29-Mar-06 3:37 
QuestionT-SQL Help Pin
WDI27-Mar-06 2:51
WDI27-Mar-06 2:51 
AnswerRe: T-SQL Help Pin
Michael Potter27-Mar-06 2:58
Michael Potter27-Mar-06 2:58 
QuestionInvalid cast in using SQLDataReader Pin
Brendan Vogt27-Mar-06 2:35
Brendan Vogt27-Mar-06 2:35 
QuestionSQL login problem Pin
acroitoriu26-Mar-06 23:37
acroitoriu26-Mar-06 23:37 
AnswerRe: SQL login problem Pin
Brendan Vogt27-Mar-06 2:20
Brendan Vogt27-Mar-06 2:20 
QuestionCrystal Report, cannot find keycodev2.dll Pin
illusionFinder26-Mar-06 19:29
illusionFinder26-Mar-06 19:29 
AnswerRe: Crystal Report, cannot find keycodev2.dll Pin
nguyenvhn26-Mar-06 20:32
nguyenvhn26-Mar-06 20:32 
GeneralRe: Crystal Report, cannot find keycodev2.dll Pin
illusionFinder26-Mar-06 23:57
illusionFinder26-Mar-06 23:57 
Questioncolumn alter problm Pin
Vipin.d26-Mar-06 17:06
Vipin.d26-Mar-06 17:06 
AnswerRe: column alter problm Pin
-C-?-M-26-Mar-06 18:45
-C-?-M-26-Mar-06 18:45 
QuestionMySQL character set Pin
Monin D.26-Mar-06 3:15
Monin D.26-Mar-06 3:15 

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.