摘要:
-- -- Author: gengc -- Create date: <2012-12-29> -- Description: <查看表结构> -- CREATE View ViewTableasselectobj.name as 'TableName',f.value as 'TableDesc 阅读全文
摘要:
变量表,临时表插入数据的性能分析。1。变量表:declare @t table(id nvarchar(50),supno nvarchar(50),eta datetime)insert @tselect top 10000 id,supno,eta from 表这一句执行sql需时间:16806... 阅读全文
摘要:
IIS 发布后解除锁定 1、CMD管理员下运行命令C:\windows\system32\inetsrv\appcmd unlock config -section:system.webServer/handlersC:\windows\system32\inetsrv\appcmd unlock 阅读全文
摘要:
using System.Runtime.InteropServices; #region API [DllImport("user32.dll")] static extern void mouse_event(MouseEventFlag flags, int dx, int dy, uint 阅读全文
摘要:
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(245)))), ((int)(((byte)(255)))));this.TransparencyKey = this.BackColor; 阅读全文
摘要:
select syscolumns.name,systypes.name as type from syscolumnsinner joinsysobjects on syscolumns.id = sysobjects.idinner joinsystypeson syscolumns.xtype = systypes.xtypewhere (sysobjects.name = '" + tableName + "') and (systypes.name 'sysname') 阅读全文
摘要:
[DllImport("kernel32")] public static extern void GlobalMemoryStatus(ref MEMORY_INFO meminfo); [StructLayout(LayoutKind.Sequential)] public struct MEMORY_INFO { public uint dwLength; public uint dwMemoryLoad; public uint dwTotalPhys; public uint dwAvailPhys; public uint dwTotalPageFile; pu 阅读全文
摘要:
function isTelephone(inpurStr) { var partten = /^0(([1,2]\d)|([3-9]\d{2}))-\d{7,8}$/; if (partten.test(inpurStr)) { return true; } else { return false; } } function isMobile(inputString) { var partten = /^1[3,5,8]\d{9}$/; var fl = false; if (partten.test(inputString)) { return true; } else { //alert 阅读全文
摘要:
SELECT HostName,* FROM [Master].[dbo].[SYSPROCESSES] WHERE [DBID] IN ( SELECT [DBID] FROM [Master].[dbo].[SYSDATABASES] WHERE NAME='数据库名') 阅读全文
摘要:
模板页先判断是否有方法DocumentReady,有的话就调用1、模板页2、内容页DocumentReady(); 阅读全文