02 2012 档案

摘要:td {border-right: 1px solid #C1DAD7;border-bottom: 1px solid #C1DAD7;background: #fff;font-size:12px;padding: 6px 6px 6px 12px;} 阅读全文
posted @ 2012-02-29 12:55 编程笔记 阅读(1233) 评论(0) 推荐(0)
摘要:包含用户名,所在数据库,执行的sql语句,执行开始时间,驱动程序,主机名称SELECT [Spid] = session_Id, ecid, [Database] = DB_NAME(sp.dbid),[User] = nt_username, [Status] = er.status,[Wait] = wait_type,[Individual Query] = SUBSTRING(qt.text, er.statement_start_offset / 2, (CASE WHEN er.statement_end_offset = - 1 THEN LEN(CONVERT(NVARCH.. 阅读全文
posted @ 2012-02-23 11:55 编程笔记 阅读(12944) 评论(1) 推荐(1)
摘要:private string GetHtmlCode(string url) { string htmlCode; HttpWebRequest webRequest = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(url); webRequest.Timeout = 30000; webRequest.Method = "GET"; webRequest.UserAgent = "Mozilla/4.0"; webRequest.Headers.Add("A... 阅读全文
posted @ 2012-02-21 17:53 编程笔记 阅读(2166) 评论(0) 推荐(2)
摘要:在SQL中有时候我们需要查看现在正在SQLServer执行的命令。在分析管理器或者MicrosoftSQLServerManagementStudio中,我们可以在"管理-SQLServer日志-活动监视器"中查看。今天我们主要利用master..sysprocesses系统表来查看。先看看sysprocesses系统表的相关信息。sysprocesses:存放有关在MicrosoftSQLServer实例中运行的进程的信息,这些进程可以是客户端进程或系统进程。查询示例:select*frommaster..sysprocesses我们看看查询出来的列的含义。因为该系统表的 阅读全文
posted @ 2012-02-08 15:55 编程笔记 阅读(6495) 评论(0) 推荐(0)
摘要:HTML特殊转义字符列表最常用的字符实体Character Entities显示说明实体名称实体编号半方大的空白&ensp;&#8194;全方大的空白&emsp;&#8195;不断行的空白格&nbsp;&#160;<小于&lt;&#60;>大于&gt;&#62;&&符号&amp;&#38;"双引号&quot;&#34;©版权&copy;&#169;®已注册商标&reg;&#174;™商标(美国) 阅读全文
posted @ 2012-02-03 13:19 编程笔记 阅读(17206) 评论(0) 推荐(0)