摘要: 在SqlServer中使用select * into tempTable from targetTable where 1<1语句创建一个表的COPY在Oracle中则使用create table tempTable select * from targetTable where 1< 1语句来创建  阅读全文
posted @ 2009-04-07 11:36 .Net Learning 阅读(1638) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-02-03 14:55 .Net Learning 阅读(782) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-02-03 14:50 .Net Learning 阅读(531) 评论(0) 推荐(0) 编辑
摘要: 今天在使用nvelocity模版的时候遇到一个问题,参考示例代码如下:[代码]此时的submit请求url 则显式为..target.rails?username=name&age=-1然而,#if($age <= 1)的判断条件却并不成立,想来nvelocity模版引擎是将所有从url请求得来的参数值,均以字符串类型来进行保存,自然,对于判断条件的比较也是以字符串来进行.所以当..... 阅读全文
posted @ 2008-11-14 00:17 .Net Learning 阅读(1291) 评论(1) 推荐(0) 编辑
摘要: Book TwoThe Ancient MastersThus spake the master programmer:“After three days without programming,life becomes meaningless.”2.1The programmers of old were mysterious and profound. We canno... 阅读全文
posted @ 2008-11-08 23:29 .Net Learning 阅读(238) 评论(0) 推荐(0) 编辑
摘要: JS代码如下:[代码]HTML模拟测试代码如下:[代码]后台是否有新消息的检测想来不会是每一次请求,都对数据库进行一次查询,特别是像这般大量用户,如此频繁的数据请求,肯定将会对服务器性能和资源造成巨大的压力.至于如何实现,没有源码,仅仅只能去猜测一翻了(了解有限...努力学习啊). 阅读全文
posted @ 2008-11-08 19:03 .Net Learning 阅读(1015) 评论(0) 推荐(0) 编辑
摘要: 在对重要数据进行Delete操作时一般都会进行备份,下面是在oracle中对数据进行简单备份操作的语句:[代码] 阅读全文
posted @ 2008-11-06 21:08 .Net Learning 阅读(368) 评论(0) 推荐(0) 编辑
摘要: Book One The Silent VoidThus spake the master programmer:“When you have learned to snatch the error code from the trap frame,it will be time for you leave.”1.1Something mysterious is forme... 阅读全文
posted @ 2008-11-06 00:04 .Net Learning 阅读(282) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2008-11-04 20:37 .Net Learning 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 花了一个上午的时间将正则表达式的基础学习了一遍,再面对那些古怪的语法虽然不至于轻而易举,但也不至于不知其所以然而头痛了...将学习中遇到的正则规范及字符整理出来,以备以后参考,同时也感谢原作者的文章教程[基于.net] 常用的元字符 . 匹配除换行符以外的任意字符 \w 匹配字母或数字或下划线或汉字 \s 匹配任意的空白符 \d 匹配数字 \b 匹配单词的开始或结束 ^ 匹配字符串的开始 $ 匹配... 阅读全文
posted @ 2008-11-04 14:23 .Net Learning 阅读(561) 评论(3) 推荐(0) 编辑