02 2012 档案

SQLServer 镜像证书更换经验总结(证书过期替换)
摘要:之前有写过一篇:SQL Server 镜像证书过期处理 这是之前为替换证书做的测试准备,介绍了如何替换过期的镜像证书。而这篇文章则是对昨天的工作中进行了大量服务器的证书替换的时候碰到了一些问题,这里进行分析和总结。下面是在生产中操作的使用脚本:--脚本1select name, expiry_date from sys.certificates where issuer_name not like 'MS_%'godeclare @sql varchar(max)set @sql = ''select top 1 @sql = @sql + 'use m 阅读全文

posted @ 2012-02-23 11:44 trams 阅读(1137) 评论(0) 推荐(0) 编辑

SET XACT_ABORT的功能演示
摘要:SET XACT_ABORT的SQL语句执行情况演示:CREATE TABLE student( stuid int NOT NULL PRIMARY KEY, stuname varchar(50))CREATE TABLE score ( stuid int NOT NULL REFERENCES student(stuid), score int)GOINSERT INTO student VALUES (1,'a') INSERT INTO student VALUES (2,'b') INSERT INTO studen... 阅读全文

posted @ 2012-02-01 15:29 trams 阅读(295) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示