Home > Database > Mysql Tutorial > T-Sql(七)用户权限操作(grant)

T-Sql(七)用户权限操作(grant)

WBOY
Release: 2016-06-07 17:38:27
Original
1122 people have browsed it

一般数据库的权限操作我们很少用,除非一些大型的项目,需要给数据库配置不同的用户及权限,防患于未然,今天我们就来了解下t-sql中配置用户权限操作。 先看示例代码: login text1 , 4 check_policy = off ; login text1 8 with name = test1 login test1 d

  一般数据库的权限操作我们很少用,,除非一些大型的项目,需要给数据库配置不同的用户及权限,防患于未然,今天我们就来了解下t-sql中配置用户权限操作。

  先看示例代码:

login text1 , 4 check_policy =off; login text1 8 with name = test1 login test1 disable login test1 old_password; login test1 AdventureWorks user1 23 for login text1 user1 27 with name=use2; user2 () ;

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template