$type=carousel$cols=3$show=home$cate=0$count=9

Danh mục các chủ đề

network (36) facts (35) Windows (22) Excel (20) email marketing (19) LINUX (14) MOS (8) QTVP (7) WordPress (7) Software (6) hitech (6) word (6) CISCO (5) PowerPoint (5) phone (5) Vien Dong (3) WIFI (2) cá cược thể thao (1)

Change SQL 2008 Server Authentication Mode

This topic describes how to change the server authentication mode in SQL Server 2014 by using SQL Server Management Studio or Transact-SQL. ...

This topic describes how to change the server authentication mode in SQL Server 2014 by using SQL Server Management Studio or Transact-SQL. During installation, SQL Server Database Engine is set to either Windows Authentication mode or SQL Server and Windows Authentication mode. After installation, you can change the authentication mode at any time.
If Windows Authentication mode is selected during installation, the sa login is disabled and a password is assigned by setup. If you later change authentication mode to SQL Server and Windows Authentication mode, the sa login remains disabled. To use the sa login, use the ALTER LOGIN statement to enable the sa login and assign a new password. The sa login can only connect to the server by using SQL Server Authentication.
In This Topic

Before You Begin



Security

The sa account is a well-known SQL Server account and it is often targeted by malicious users. Do not enable the sa account unless your application requires it. It is very important that you use a strong password for the sa login.

Using SQL Server Management Studio


To change security authentication mode

  1. In SQL Server Management Studio Object Explorer, right-click the server, and then click Properties.
  2. On the Security page, under Server authentication, select the new server authentication mode, and then click OK.
  3. In the SQL Server Management Studio dialog box, click OK to acknowledge the requirement to restart SQL Server.
  4. In Object Explorer, right-click your server, and then click Restart. If SQL Server Agent is running, it must also be restarted.

To enable the sa login

  1. In Object Explorer, expand Security, expand Logins, right-click sa, and then click Properties.
  2. On the General page, you might have to create and confirm a password for the login.
  3. On the Status page, in the Login section, click Enabled, and then click OK.

Using Transact-SQL


To enable the sa login
  1. In Object Explorer, connect to an instance of Database Engine.
  2. On the Standard bar, click New Query.
  3. Copy and paste the following example into the query window and click Execute. The following example enables the sa login and sets a new password.
    ALTER LOGIN sa ENABLE ;
    GO
    ALTER LOGIN sa WITH PASSWORD = '<enterStrongPasswordHere>' ;
    GO

COMMENTS

Tên

cá cược thể thao,1,CISCO,5,email marketing,19,Excel,20,facts,35,hitech,6,LINUX,14,MOS,8,network,36,phone,5,PowerPoint,5,QTVP,7,Software,6,Vien Dong,3,WIFI,2,Windows,22,word,6,WordPress,7,
ltr
item
Tin học ứng dụng: Change SQL 2008 Server Authentication Mode
Change SQL 2008 Server Authentication Mode
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbTdk8k5HWddaI93BwtjlTCC-D3mnSlERJqtuvRXJbVCsG6M88tQUKMjVsBLsmGd_4ZMcoXt_ZDiPwH19k_IB373vdE6L8nQYrJJMiPBOLa7t0lxYR3mQArzlr-J8Lawjz0qj_QTIW6Tll/s1600/SQL+server.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbTdk8k5HWddaI93BwtjlTCC-D3mnSlERJqtuvRXJbVCsG6M88tQUKMjVsBLsmGd_4ZMcoXt_ZDiPwH19k_IB373vdE6L8nQYrJJMiPBOLa7t0lxYR3mQArzlr-J8Lawjz0qj_QTIW6Tll/s72-c/SQL+server.jpg
Tin học ứng dụng
https://tinhocungdunginfo.blogspot.com/2014/09/change-sql-2008-server-authentication.html
https://tinhocungdunginfo.blogspot.com/
http://tinhocungdunginfo.blogspot.com/
http://tinhocungdunginfo.blogspot.com/2014/09/change-sql-2008-server-authentication.html
true
7970184340113489634
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy