How to create a login account in ms sql server to access the database engine using "create login" statements?
Answer / Ankit Dwivedi
To create a login account in MS SQL Server, use the following command: CREATE LOGIN [login_name] WITH PASSWORD = 'password'; To grant permissions to this login, use the ALTER ROLE statement: ALTER ROLE [role_name] ADD MEMBER [login_name];
| Is This Answer Correct ? | 0 Yes | 0 No |
Please give me the SP for the below scenario. I have two tables named Table1 and Table2...I need to fetch record by record from Table1 and insert the record in to table2 where the value in the sno column of the table1 is even number.
Explain what is log shipping?
What is de-normalization in sql database administration? Give examples?
How do I run a trace in sql server?
How do I start sql server?
How to create a new schema in a database?
how to use DTS package in 2000,2005,2008 in sql server
How to enter comments in transact-sql statements?
Which command is used for user defined error messages?
In performance wise distinct is good or group by is good? eg:select name from emp group by name; select distinct name from emp;
What is Stored Procedure? What is Views in sql server? Difference between a User Defined Function and a Stored Procedure Difference between a primary key and a unique key? What is a join and explain different types of joins. Difference between temp table and table variable Difference between Triggers and Stored Procedures Difference between UNION ALL Statement and UNION What is COALESCE / Why do we use COALESCE? Why we use SET ROWCOUNT in Sql How many clustered index can have a table How many types of local tables in SQL SERVER Difference between DELETE and TRUNCATE What is Aggregate Functions? What is Row_Number()? What are Ranking Functions? What is NOLOCK? What is CTE? What are the Advantages of using CTE? What is the STUFF function and how does it differ from the REPLACE function? What are the difference between clustered and a non-clustered index? What are the different index configurations a table can have? Difference between a HAVING CLAUSE and a WHERE CLAUSE? Difference between SET and SELECT Provide all the built in string function of SQL SERVER Difference between char and varchar data types Define candidate key, alternate key, composite key. What are constraints? Explain different types of constraints. What is a self join? Explain it with an example. How will you convert table row to a column comma separated value
what is the output for this query select * from employee where 1=1;
Oracle (3253)
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)