![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
个人笔记
David.X.Wu
这个作者很懒,什么都没留下…
展开
-
个人笔记-Rabbit MQ 连接失败
Rabbit MQ 错误: None of the specified endpoints were reachable原创 2022-05-30 17:46:15 · 4530 阅读 · 0 评论 -
C# 获取当前方法的调用者
/// <summary>/// Caller method full name: namespace.class.method/// </summary>/// <returns></returns>public static string GetCallerName(){ // 0: current method, i.e. GetCallerName // 1: 1 frame up current method: the m.原创 2021-05-15 14:52:16 · 1720 阅读 · 0 评论 -
VS 统计代码行数
步骤通过 Analyze–-----> Calculate Code Metrics---->For Solution 统计出各个项目的代码行数。 将数据导出到 Excel, 过滤 Scope, 只看 Assembly 级别,然后统计总行数。原创 2021-05-15 14:40:27 · 1265 阅读 · 0 评论 -
配置 Sql Server 实例别名
原创 2021-05-15 14:25:13 · 395 阅读 · 0 评论 -
查询各个表数据的行数
简单版USE DataBaseGO SELECT TOP(1000) A.name, B.rowsFROM sys.Objects AS A WITH(NOLOCK)INNER JOIN sys.partitions AS B WITH(NOLOCK) -- 每个表/索引在各个分区上的信息(其中包含行数) ON A.object_id = B.object_idWHERE a.type = 'U' -- User Table完整版USE DataBaseGO .原创 2021-05-15 14:21:14 · 434 阅读 · 0 评论 -
SQL Server 查找数据库对象的引用
USE svcSELECT o.name, o.type_desc, p.name as referenced_name, p.type_descFROM sys.sql_expression_dependencies dINNER JOIN sys.objects o ON d.referencing_id = o.object_idINNER JOIN sys.ob...原创 2021-05-15 13:52:23 · 427 阅读 · 0 评论 -
Windows Services 笔记
Run Services.msc原创 2019-02-22 14:19:48 · 312 阅读 · 0 评论