技术标签: sqlserver
sqlserver创建用户
Transact-SQL创建用户
文档中介绍了using SQL Server Management Studio (SSMS)
和Transact-SQL
2种方式,本人创建只读账户使用的第一种方式;
(1)使用Microsoft SQLServer Management Studio
,用管理员账户登录
(2)点击【安全性
】->【登录名
】,选择【新建登录名
】
(3)在【常规
】选项【登录名
】中输入用户名 cz。身份验证选择【SQL Server 身份验证
】,输入密码,取消勾选【强制实施密码策略
】
(4)点击选项页【用户映射
】->【映射到此登录名的用户
】,选择创建的cz用户可操作的数据库。针对每一个数据库,在下方【数据库角色成员身份
】中勾选成员身份,即可获取身份对应的权限,如只读权限,即勾选【db_datareader】。同时【默认架构
】中亦勾选【db_datareader】
(6)只读用户cz创建成功
连接成功:
修改数据报错:
bulkadmin check box
Members of the bulkadmin fixed server role can run the BULK INSERT statement.
dbcreator check box
Members of the dbcreator fixed server role can create, alter, drop, and restore any database.
diskadmin check box
Members of the diskadmin fixed server role can manage disk files.
processadmin check box
Members of the processadmin fixed server role can terminate processes running in an instance of the Database Engine.
public check box
All SQL Server users, groups, and roles belong to the public fixed server role by default.
securityadmin check box
Members of the securityadmin fixed server role manage logins and their properties. They can GRANT, DENY, and REVOKE server-level permissions. They can also GRANT, DENY, and REVOKE database-level permissions. Additionally, they can reset passwords for SQL Server logins.
serveradmin check box
Members of the serveradmin fixed server role can change server-wide configuration options and shut down the server.
setupadmin check box
Members of the setupadmin fixed server role can add and remove linked servers, and they can execute some system stored procedures.
sysadmin check box
Members of the sysadmin fixed server role can perform any activity in the Database Engine.
桂 林 理 工 大 学实 验 报 告班级 软件工程16-1班 学号 3162052051116 姓名 张识虔 同组实验者 实验名称 数码转换程序实验 日期 2018年 11 月14 日 一、实验目的:掌握不同进制数及编码相互转换的程序设计方法二、实验环境:PC 微...
flink上传jar包报错
1、缓存的修改,由于mari特别吃电脑性能,所以缓存对后期影响较大,开始使用前先把缓存调整到空间比较充分的盘符;edit-Preferences,如下图调整缓存路径:2、基本视图操作:Alt+鼠标左键旋转。Alt+鼠标右键缩放。Alt+鼠标中键平移。Edit–Preference–Navigate中可修改Maya、MAX等软件操作方式,根据自己习惯的方式调整即可3、基本视口的说明...
妙算的实质英伟达TK1硬件+自定义接口+大疆的SDK注意虽然长得像个微型电脑,但妙算内部的CPU、GPU是嵌入式(NVIDIA Jetson TK1)的,所以默认搭载的也是嵌入式Ubuntu系统(大疆可能在这个基础上做了一些优化)一般我们装Ubuntu后会因为apt-get的下载源网速比较慢而换成国内的源(阿里之类的),千万要记得别选成i386的安装源(那是给Int
C++超级高手成长之路http://hi.baidu.com/dbfr2011818
文章目录python处理矩阵运算转置矩阵单位矩阵&反向单位矩阵逆矩阵矩阵相乘python处理矩阵运算转置矩阵import numpy as npmatrix = [[1, 2, 3], [1, 2, 3], [1, 2, 3]]# 转置矩阵transposed_matrix = np.transpose(matrix)# ndarrayprint(type(transposed_matrix))"""[[1 1 1] [2 2 2] [3 3 3]]""" print(t
一、创建对象 __init__是类的一个特殊的方法,每当根据类创建新实例时,Python都会自动运行它。这就是一个初始化手段,Python中的__init__方法用于初始化类的实例对象。__init__方法的作用一定程度上与C++的构造函数相似,但并不等于。C++的构造函数是使用该函数去创建一个类的示例对象,而Python执行__init__方法时实例对象已被构造出来。__init...
因为项目上面的需要,所以研究了PHP解压压缩包,当然PHP不止这一种解压方式,个人觉得是比较方便的办法,不需要安装其他的扩展。//获取表单提交的压缩文件$file = $_FILES['file'];//获取文件名$name = $file['name'];//获取绝对路径$path = getcwd().'/';//定义文件保存路径$filepath= $path.'upl...
本题给定一个庞大家族的家谱,要请你给出最小一辈的名单。输入格式:输入在第一行给出家族人口总数 N(不超过 100 000 的正整数) —— 简单起见,我们把家族成员从 1 到 N 编号。随后第二行给出 N 个编号,其中第 i 个编号对应第 i 位成员的父/母。家谱中辈分最高的老祖宗对应的父/母编号为 -1。一行中的数字间以空格分隔。输出格式:首先输出最小的辈分(老祖宗的辈分为 1...
MySQL 高级 - 存储过程 - 语法 - if判断传递参数
该版本要稳定些,其他的版本都运行哈就done机。。。http://kuai.xunlei.com/d/IPMFPAOOZWMI
ServletContext域1、生命周期监听接口:ServletContextListener①contextInitialized(ServletContextEvent sce) 创建ServletContext时调用②contextDestroyed(ServletContextEvent sce) 销毁ServletContext时调用2、属性监听接口:ServletCo...