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 |
What is the purpose of update statistics and scope_identity() function?
What is log shipping? Can we do logshipping with SQL Server 7.0 - Logshipping is a new feature of SQL Server 2000. We should have two SQL Server - Enterprise Editions. From Enterprise Manager we can configure the logshipping. In logshipping the transactional log file from one server is automatically updated into the backup database on the other server. If one server fails, the other server will have the same db and we can use this as the DR (disaster recovery) plan.
How to use values from other tables in update statements in ms sql server?
How to use go command in "sqlcmd"?
How can you append an identity column to a temporary table?
what is Covering Index ?
Can you please explain the difference between function and stored procedure?
How to convert numeric expression data types using the cast() function?
What is the difference between executequery () and executeupdate ()?
i want table name basis on column name.
What is the stored procedure?
What is inline variable assignment?
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)