摘要:
1、快速查找某张表在某个存储过程中被使用的方法,以下代码只需更改红色表名即可: SELECT DISTINCT o.name, o.xtype FROM syscomments c INNER JOIN sysobjects o ON c.id=o.id WHERE c.TEXT LIKE '%Re 阅读全文
摘要:
用户表结构中包含用户及其子用户,使用以下方法递归查询当前用户及其子用户信息 with Tusers as(select UserID,PUserID from [Base].[WGUser] where UserID=1union allselect B.UserID,B.PUserID from 阅读全文
摘要:
using System;using System.Collections.Generic;using System.ComponentModel.Design;using System.Linq;using System.Text;using System.Threading.Tasks; nam 阅读全文