How to Create Login and User through query in Sql server
2005.and also how to delete Login and User through query?
Answer Posted / 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 |
Post New Answer View All Answers
What is cursors? And what are the different types of cursor?
What is the most common trace flags used with sql server?
List out the differences between the clustered index and non-clustered index in sql server?
How we can compare two database data?
What is attribute hierarchy? : sql server analysis services, ssas
Where is trigger in sql server?
What are the new features introduced in SQL Server 2000? What changed between the previous version of SQL Server and the current version?
Why the trigger fires multiple times in single login?
How data can be copied from one table to another table?
how to determine the service pack currently installed on sql server? : Sql server database administration
What is instead of dml trigger?
How can we determine what objects a user-defined function depends upon?
How many types of keys are there?
How will you hide an attribute? : sql server analysis services, ssas
Can we call future method from queueable?