adplus-dvertising
frame-decoration

Question

Which of the following code is used to enable the sa login?

a.

ALTER LOGIN sa ENABLE ;
GO
ALTER LOGIN sa WITH PASSWORD = '<enterStrongPasswordHere>' ;
GO

b.

ALTER LOGIN sa DISABLE ;
GO
ALTER LOGIN sa WITH PASSWORD = '<enterStrongPasswordHere>' ;
GO

c.

ALTER LOGIN sa ENABLE ;
GO
ALTER LOGIN san WITH PASSWORD = '<enterStrongPasswordHere>' ;
GO

d.

None of the mentioned

Posted under SQL Server

Answer: (a).ALTER LOGIN sa ENABLE ;
GO
ALTER LOGIN sa WITH PASSWORD = '<enterStrongPasswordHere>' ;
GO

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following code is used to enable the sa login?

Similar Questions

Discover Related MCQs

Q. Point out the correct statement.

Q. Which of the following feature prefers SQL Server authentication mode over windows authentication?

Q. Windows Authentication Mode is not available when an instance of SQL Server is running on ____________

Q. Point out the wrong statement.

Q. Which of the following authentication modes is more secure?

Q. By using Windows Authentication, Windows groups can be created at the _________ level.

Q. ________ optional password policies are available for SQL Server logins.

Q. Which of the following is the biggest disadvantage of SQL Server Authentication mode?

Q. The Windows password policies enforced for SQL Server logins depends upon _____________________ API.

Q. What is the syntax for HAS_PERMS_BY_NAME in SQL Server 2014?

Q. Point out the correct statement.

Q. _________ returns a list of the permissions effectively granted to the principal on a securable.

Q. What is the syntax for fn_my_permissions function in SQL Server 2014?

Q. Point out the wrong statement.

Q. The schema securable scope contains the following securable is __________

Q. Which of the following returns a row for each security principal in a SQL Server database?

Q. Any SQL Server authentication login can see ________ login name.

Q. To add or remove server role membership use ____________

Q. Point out the wrong statement.

Q. Which of the following script creates master key?