11 2021 档案

sql server 查看表的索引
摘要:exec sp_helpindex 表名 阅读全文

posted @ 2021-11-19 09:32 炼金师 阅读(288) 评论(0) 推荐(0)

sql server 搜索所有用到某字段的存储过程
摘要:select object_name(id),* from syscomments where text like'%你要找的字段名%' 阅读全文

posted @ 2021-11-09 15:30 炼金师 阅读(100) 评论(0) 推荐(0)

sql server 保存错误信息到日志表
摘要:建表 CREATE TABLE ErrorLog( [ErrorLogID] [int] IDENTITY(1,1) NOT NULL, [ErrorTime] [datetime] NULL, [UserName] [sysname] NULL, [ErrorNumber] [int] NULL, 阅读全文

posted @ 2021-11-02 14:33 炼金师 阅读(307) 评论(0) 推荐(0)

导航