会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Ender.Lu
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
9
10
···
17
下一页
2019年10月17日
sqlserver分布式事务
摘要: 启动服务中的Distributed Transaction Coodinator后 创建链接服务器ender-pc\subx 设定连接服务器RPC OUT 以及RPC属性为True 实验一下代码 创建表 第一种方法显示调用begin distributed transaction 第二种方法跟调用本
阅读全文
posted @ 2019-10-17 21:41 Ender.Lu
阅读(1026)
评论(0)
推荐(0)
2019年8月14日
更改collation批处理
摘要: DECLARE @zcreate_index_sql NVARCHAR(max); SET @zcreate_index_sql = N''; SELECT @zcreate_index_sql = @zcreate_index_sql + CASE WHEN r.is_primary_key=1 THEN N'ALTER TABLE [' + r.schemas_name + ']....
阅读全文
posted @ 2019-08-14 14:20 Ender.Lu
阅读(297)
评论(0)
推荐(0)
sqlserver获得数据库非聚集索引的代码
摘要: 创建Index https://www.cnblogs.com/shiyh/p/9431786.html 设置数据库collation 删除Index
阅读全文
posted @ 2019-08-14 10:06 Ender.Lu
阅读(337)
评论(0)
推荐(0)
2019年7月31日
sqlserver读取日志以及复制
摘要: https://blog.csdn.net/kk185800961/article/details/71158711 检查分发到订阅数据库的更新数据命令执行计划 https://www.cnblogs.com/kerrycode/p/4266646.html
阅读全文
posted @ 2019-07-31 09:11 Ender.Lu
阅读(995)
评论(0)
推荐(0)
2019年7月30日
SqlServer 2012 清理日志 截断日志的方法
摘要: ALTER DATABASE test SET RECOVERY SIMPLE WITH NO_WAITALTER DATABASE test SET RECOVERY SIMPLE --简单模式DBCC SHRINKFILE (N'test_Log' , 1, TRUNCATEONLY) -- 1
阅读全文
posted @ 2019-07-30 14:24 Ender.Lu
阅读(2672)
评论(0)
推荐(0)
每天固定备份db sqlserver
摘要: DECLARE @DBName varchar(255) DECLARE @DATABASES_Fetch int DECLARE DATABASES_CURSOR CURSOR FOR select DATABASE_NAME = db_name(s_mf.database_id) from sys.master_files s_mf ...
阅读全文
posted @ 2019-07-30 09:58 Ender.Lu
阅读(218)
评论(0)
推荐(0)
2019年7月15日
excel查找定位操作(for lutai)
摘要: 产成品出库的单价要根据订单号和存货编码引用产成品入库的单价 方法一:使用Index 和Match =INDEX(产成品入库!I2:P13 ,IF( MATCH(J2,产成品入库!I2:I13,0)=MATCH(产成品出库!K2,产成品入库!J2:J13,0) ,(MATCH(J2,产成品入库!I2:
阅读全文
posted @ 2019-07-15 11:20 Ender.Lu
阅读(337)
评论(0)
推荐(0)
2019年5月9日
sqlserver检查sql执行时间
摘要: set statistics profile onset statistics io onset statistics time onGO select * from mytable; goset statistics profile offset statistics io offset stat
阅读全文
posted @ 2019-05-09 14:13 Ender.Lu
阅读(442)
评论(0)
推荐(0)
2019年3月1日
excel操作for(lutai)
摘要: 条件统计某个区域的值 第一种方法: =SUMIFS(P2:P5,L2:L5,A2) 第一个参数:被求和的单元格范围 第二个参数:明细表条件值单元格范围 第三个参数:主表条件单元格(可以是范围) 公式的含义就是根据第三个参数值,去第二个参数中查找符合条件的记录,并对这些记录中的第一个参数求和 复制公式
阅读全文
posted @ 2019-03-01 14:09 Ender.Lu
阅读(650)
评论(0)
推荐(0)
2019年1月24日
android studio 3.0+发布签名apk注意的情况
摘要: 在build.gradle for module文件中添加 lintOptions { checkReleaseBuilds false abortOnError false } 这样避免失败
阅读全文
posted @ 2019-01-24 14:55 Ender.Lu
阅读(308)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
17
下一页
公告