CREATE LOGIN (Transact-SQL)

CREATE LOGIN (Transact-SQL)

Creates a login for SQL Server, SQL Database, Azure Synapse Analytics, or Analytics Platform System databases. Click one of the following tabs for the syntax, arguments, remarks, permissions, and examples for a particular version.

CREATE LOGIN participates in transactions. If CREATE LOGIN is executed within a transaction and the transaction is rolled back, then login creation is rolled back. If executed within a transaction, the created login cannot be used until the transaction is committed.

For more information about the syntax conventions, see Transact-SQL Syntax Conventions.

 

HECK_POLICY = { ON | OFF }

Applies to SQL Server logins only. Specifies that the Windows password policies of the computer on which SQL Server is running should be enforced on this login. The default value is ON.

If the Windows policy requires strong passwords, passwords must contain at least three of the following four characteristics:

  • An uppercase character (A-Z).
  • A lowercase character (a-z).
  • A digit (0-9).
  • One of the non-alphanumeric characters, such as a space, _, @, *, ^, %, !, $, #, or &.

 

作者:Chuck Lu    GitHub    
posted @   ChuckLu  阅读(56)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
历史上的今天:
2020-08-15 夜神模拟器 微信无法搜索公众号和小程序
2019-08-15 Resharper错误提示方法的命名
2017-08-15 网站设置404错误页
2017-08-15 List of content management systems
2017-08-15 css footer not displaying at the bottom of the page
2017-08-15 强制刷新css
点击右上角即可分享
微信分享提示