上一页 1 2 3 4 5 6 7 8 9 10 ··· 17 下一页
摘要: 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 阅读(263) 评论(0) 推荐(0)
摘要: 创建Index https://www.cnblogs.com/shiyh/p/9431786.html 设置数据库collation 删除Index 阅读全文
posted @ 2019-08-14 10:06 Ender.Lu 阅读(313) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/kk185800961/article/details/71158711 检查分发到订阅数据库的更新数据命令执行计划 https://www.cnblogs.com/kerrycode/p/4266646.html 阅读全文
posted @ 2019-07-31 09:11 Ender.Lu 阅读(970) 评论(0) 推荐(0)
摘要: 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 阅读(2644) 评论(0) 推荐(0)
摘要: 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 阅读(187) 评论(0) 推荐(0)
摘要: 产成品出库的单价要根据订单号和存货编码引用产成品入库的单价 方法一:使用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 阅读(311) 评论(0) 推荐(0)
摘要: 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 阅读(415) 评论(0) 推荐(0)
摘要: 条件统计某个区域的值 第一种方法: =SUMIFS(P2:P5,L2:L5,A2) 第一个参数:被求和的单元格范围 第二个参数:明细表条件值单元格范围 第三个参数:主表条件单元格(可以是范围) 公式的含义就是根据第三个参数值,去第二个参数中查找符合条件的记录,并对这些记录中的第一个参数求和 复制公式 阅读全文
posted @ 2019-03-01 14:09 Ender.Lu 阅读(627) 评论(0) 推荐(0)
摘要: 在build.gradle for module文件中添加 lintOptions { checkReleaseBuilds false abortOnError false } 这样避免失败 阅读全文
posted @ 2019-01-24 14:55 Ender.Lu 阅读(282) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/anwanfei/article/details/79136403 阅读全文
posted @ 2019-01-23 11:42 Ender.Lu 阅读(113) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 17 下一页