上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 52 下一页
摘要: https://www.cnblogs.com/lxhbky/p/5962393.html 需求:查询表dbo.Message,每页10条,查询第2页 1:TOP() SELECT TOP(20) * FROM dbo.Message WHERE Code NOT IN (SELECT TOP(10 阅读全文
posted @ 2018-02-27 18:08 LuoCore 阅读(1013) 评论(0) 推荐(0)
摘要: select * from table1 where patindex('%关键字%' , aa) = 0 select * from table1 where charindex('关键字' , aa) = 0 select * from table1 where aa like '%关键字%' 阅读全文
posted @ 2018-02-27 12:14 LuoCore 阅读(2090) 评论(0) 推荐(0)
摘要: https://zhidao.baidu.com/question/154994771.html 阅读全文
posted @ 2018-02-02 21:50 LuoCore 阅读(1692) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/luluping/archive/2010/11/26/1888364.html 由于Sql Server对于系统内存的管理策略是有多少占多少,除非系统内存不够用了(大约到剩余内存为4M左右), Sql Server才会释放一点点内存。所以很多时候,我 阅读全文
posted @ 2018-02-01 12:29 LuoCore 阅读(805) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/srsrd/p/6962982.html 方法一: 方法二: 使用以下语句查找出什么语句占内存最高,针对占内存高的语句进行优化SELECT SS.SUM_EXECUTION_COUNT, T.TEXT,SS.SUM_TOTAL_ELAPSED_TIME 阅读全文
posted @ 2018-02-01 12:27 LuoCore 阅读(2728) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-01-31 22:06 LuoCore 阅读(126) 评论(0) 推荐(0)
摘要: //第二个窗体 public delegate void DAddress(string address); public event DAddress ESignAddress; protected void SignAddress(string address) { ESignAddress(a 阅读全文
posted @ 2018-01-31 21:03 LuoCore 阅读(286) 评论(0) 推荐(0)
摘要: 启动:net start mssqlserver 停止:net stop mssqlserver 阅读全文
posted @ 2018-01-31 20:25 LuoCore 阅读(2501) 评论(0) 推荐(0)
摘要: SP_Lock 阅读全文
posted @ 2018-01-31 16:57 LuoCore 阅读(138) 评论(0) 推荐(0)
摘要: ALTER proc [dbo].[SP_SQL](@ObjectName sysname) as set nocount on ; declare @Print nvarchar(max) @Print用nvarchar if exists(select 1 from syscomments wh 阅读全文
posted @ 2018-01-25 15:33 LuoCore 阅读(272) 评论(0) 推荐(0)
上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 52 下一页