随笔 - 1343, 文章 - 4, 评论 - 397, 阅读 - 426万
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

03 2012 档案

摘要:触发器点滴判断操作类型if exists (select 1 from inserted) and exists (select 1 from deleted)begin -- updateendif exists (select 1 from inserted) and not exists (select 1 from deleted)begin --insertend 阅读全文

posted @ 2012-03-24 12:27 linFen 阅读(325) 评论(0) 推荐(0) 编辑

摘要:方法一:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1 select* 2 from sysobjects o, syscomments s 3 where o.id = s.id 4 andtextlike'%yyao%' 5 and o.xtype ='P'复制代码将yyao替换成自己要查找的文本方法二:Code highlighting produced by Actipro CodeHighligh 阅读全文

posted @ 2012-03-24 12:26 linFen 阅读(1950) 评论(0) 推荐(0) 编辑

摘要:SQL Server FOR XML PATH 语句的应用在SQL Server中利用 FOR XML PATH 语句能够把查询的数据生成XML数据,下面是它的一些应用示例。?12345DECLARE @TempTable table(UserID int , UserName nvarchar(50)); insert into @TempTable (UserID,UserName) values (1,'a') insert into @TempTable (UserID,UserName) values (2,'b') select UserID,Use 阅读全文

posted @ 2012-03-24 12:15 linFen 阅读(374) 评论(0) 推荐(0) 编辑

摘要:目录一 编码规范的作用二 编码规范不是“物神”三 编写编码规范的一些建议四 编码规范参考 作为软件开发者,我们可以开发低等级的软件,但不能开发低质量的软件。所以,如何实施质量保证,是我们关注的主要问题之一,而编码规范则是实施质量保证的第一步。 编码规范已经成为一个老生常谈的问题,几乎每个项目,每家公司都会定义自己的编码规范。但在真正实施时,却在有意或无意地违背编码规范。程序员,不喜欢改变自己的编程习惯。加之,管理者对质量控制不足,导致编码规范往往形同虚设。有些人会认为:遵守编码规范不能给项目带来利益,也不能让客户看到我们为此付出的努力,其完全是团队自发的行为,没有必要做硬性的要求。还有些人.. 阅读全文

posted @ 2012-03-21 21:14 linFen 阅读(455) 评论(0) 推荐(2) 编辑

点击右上角即可分享
微信分享提示