摘要:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--createprocp_getlinkinfo@dbnamesysname=null,--要查询的数据库名,默认查询所有数据库的连接信息@includeipbit=0--是否显示IP地址,因为查询IP地址... 阅读全文
posted @ 2010-03-02 16:02
闭着眼睛想
阅读(2313)
评论(0)
推荐(0)
摘要:
代码如下 :创建一个触发器Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--USEmasterGOALTERTRIGGERtr_LoginCheckONALLSERVERFORLOGONASIFEVENTDATA().value('(/EVENT_INS... 阅读全文
posted @ 2010-03-02 15:53
闭着眼睛想
阅读(403)
评论(0)
推荐(0)
摘要:
一、简介xp_cmdshell 扩展存储过程将命令字符串作为操作系统命令 shell 执行,并以文本行的形式返回所有输出。二、SQL Server 2005中的xp_cmdshell由于存在安全隐患,所以在SQL Server 2005中, xp_cmdshell 默认是关闭的。此时,如果执行 xp_cmdshell 将会提示服务未开启:exec xp_cmdshell 'dir c:\'消息 1... 阅读全文
posted @ 2010-03-02 15:50
闭着眼睛想
阅读(728)
评论(1)
推荐(0)

浙公网安备 33010602011771号