Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 截图: Read More
posted @ 2008-10-23 21:47 温景良(Jason) Views(3096) Comments(0) Diggs(0) Edit
对象,函数,Object,Constructor,Prototype,Scope,this.....,这些东西曾经让我无比的烦恼,也让我对JS产生了畏惧!我现在准备来解决这些了,那么让我们从简单开始吧. 首先必须建立对象的概念,"Javascript是基于对象的语言,它里面的所有数据都是对象.". 了解JS的数据类型: 基本数据类型:undefined,number,string,... Read More
posted @ 2008-10-23 16:56 温景良(Jason) Views(445) Comments(0) Diggs(0) Edit
一.执行效率 1. DOM 1.1 使用DocumentFragment优化多次append 说明:添加多个dom元素时,先将元素append到DocumentFragment中,最后统一将DocumentFragment添加到页面。 该做法可以减少页面渲染dom元素的次数。经IE和Fx下测试,在append1000个元素时,效率能提高10%-30%,Fx下提升较为明显。 服用前: for (v... Read More
posted @ 2008-10-23 16:55 温景良(Jason) Views(379) Comments(0) Diggs(0) Edit
在数据库内创建的每个对象(约束、默认值、日志、规则、存储过程等)在表中占一行。只有在 tempdb 内,每个临时对象才在该表中占一行。 name sysname 对象名。 Id int 对象标识号。 xtype char(2) 对象类型。可以是下列对象类型中的一种: C = CHECK ... Read More
posted @ 2008-10-23 11:38 温景良(Jason) Views(532) Comments(0) Diggs(0) Edit
-- 比较两个数据库中表的差异 -- u表,p存储过程,v视图 -- INTFSIMSNEW新库,INTFSIMS旧库 SELECT NTABLE = A.NAME, OTABLE = B.NAME FROM INTFSIMSNEW..SYSOBJECTS A LEFT JOIN INTFSIMS..SYSOBJECTS B ON A.NAME = B.NAME WHERE ISNUL... Read More
posted @ 2008-10-23 11:36 温景良(Jason) Views(3402) Comments(0) Diggs(0) Edit
查看死锁存储过程 Posted on 2008-10-17 10:06 西北的荒漠 阅读(12) 评论(0) 编辑 收藏 网摘 use master go create procedure sp_who_lock as begin declare @spid int,@bl int, @intTransactionCountOnEntry int, @intRowcount ... Read More
posted @ 2008-10-23 11:31 温景良(Jason) Views(318) Comments(0) Diggs(0) Edit
----------------------------------------------------- --作用:用于sql server 2005 导出用户表数据字典 --1 默认导出当前数据库中所有用户表(xtype = 'u')的数据字典; --2 可以在xtype = 'u'替换为如下所示语句xtype = 'u' and name in ('son','Person') 导出自定义... Read More
posted @ 2008-10-23 11:29 温景良(Jason) Views(2043) Comments(0) Diggs(1) Edit
随着互联网应用更频繁,RIA技术成为以后互联网发展的重要技术. 第一步,新建Flash(ActionScript3.0)文件,取名a.fla,然后设置其docmentclass参数为a.as.注意在ActionScript里文件名要跟类名一样,要不然认不到,这点跟JAVA有点像. 点击发布按钮设置该Flash文件的参数如图 在ActionScript脚本... Read More
posted @ 2008-10-23 08:55 温景良(Jason) Views(405) Comments(0) Diggs(0) Edit