How to Create Login and User through query in Sql server
2005.and also how to delete Login and User through query?
Answers were Sorted based on User's Feedback
Answer / rajiv singh
CREATE LOGIN ra
WITH PASSWORD = 'passwd';
USE COREDATA;
CREATE USER ra FOR LOGIN ra;
GO
DROP LOGIN name
| Is This Answer Correct ? | 2 Yes | 4 No |
Answer / jagadeesh
create login 'name' with password='cghhicl'
GO
DROP LOGIN name
| Is This Answer Correct ? | 0 Yes | 4 No |
Can an entity have two primary keys?
Explain the concept of view and Types of views in SQL server?
What happens if date-only values are provided as date and time literals?
Which command is used for user defined error messages?
Suppose in a situation if two list boxes are there and if you select multiple options based on that the options related to those selected items should display in second list box. Again if we select multiple items in second listbox then the related to those selected items should display . In this scenario how will you design database,tables?
What is difference between aggregate and analytic function?
i have account table which consists of account name,card no and card no consists 16 digits now i want to retrieve the data if card no starts from 4 then it should print visa and if it starts from 5 then it should print master so plse help me to write simple query with out store procs .
What are the built in functions in sql server?
How to connect ms access to sql servers through odbc?
Why use triggers?
What gets stored inside msdb database?
How do you create an execution plan?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)