楼主要修改syslogins这个表干嘛
解决方案 »
- 一个SQL脚本能不能引用另一个SQL脚本?
- 请求SQL 里的 UPDATE用发~
- cast函数的使用请教,cast(@i as varchar(10))可以写成cast(@i as varchar())吗,即不指定字符长度?
- sql数据导出表时,字段的默认时会改变!
- 派生字端如何做条件判断?如下语句,不知哪里出错?我要用当YTDSUM>=0时,派生字断PA的值为
- 大家手头有没有SQLSERVER数据库的一些年终基本检查项目的清单?
- SQL-server 安装问题(在线等待)
- [散分50! 今天结贴]关于包含nText列效率问题。
- 一个很奇怪的查询问题
- 想从Datetime只取出Date(即比较日期,不要时间)怎么办?
- 问一个安装SQLServer时遇到的问题(急)
- 处理考勤打卡记录问题(分不够再加)
Because system tables are critical to the operation of SQL Server, enable allow updates only in tightly controlled situations. Prevent other users from accessing SQL Server while you are directly updating system tables by restarting an instance of SQL Server from the command prompt with sqlservr -m. This command starts an instance of SQL Server in single-user mode and enables allow updates. For more information, see Starting SQL Server with Minimal Configuration. If you set allow updates to 1 using the sp_configure system stored procedure, you must use the RECONFIGURE WITH OVERRIDE statement. This setting takes effect immediately (without a server stop and restart).
GO
RECONFIGURE WITH OVERRIDE
GO
GO
RECONFIGURE WITH OVERRIDE
GO
上面的语什么意思,执行后都影响到数据库的那些方面?
叫sysxlogins
sql2005中叫syslogins(系统视图)
但已不能被修改了
2005的系统表都不能被修改
allow updates可以执行,但是无效