2008年7月1日
摘要: create function GetNum ( @index int )returns int as begin declare @count int set @count = 0 if @index>=1 and @index<=2 set @count = 1 else set @count = @count + dbo.Get... 阅读全文
posted @ 2008-07-01 11:39 resake 阅读(325) 评论(0) 推荐(0) 编辑
  2008年6月26日
摘要: 开始之前,请确保您的GMAIL账号已开启POP功能。(如果您不清楚如何开启此功能,请自行搜索) Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> try { System.Net.Mail.Mai... 阅读全文
posted @ 2008-06-26 15:41 resake 阅读(472) 评论(4) 推荐(0) 编辑
  2008年6月24日
摘要: 今天准备弄一下触发器,库在同事电脑上。没想到的是,不管是用企业管理器还是查询分析器、不管是用IP还是机器名都无法连接。郁闷到极点!我连重装系统的念头都有了。 冷静了一下,为什么不用VS2008试试?老天,通过VS2008的服务器资源管理器竟然连上了! 回到SQL SERVER 2008的企业管理器、查询分析器全能连了。 真是有点无语了…… 看来以后要连他的库,我得先麻烦VS2008了。 问题已解... 阅读全文
posted @ 2008-06-24 10:13 resake 阅读(2908) 评论(0) 推荐(0) 编辑
  2008年6月23日
摘要: 本代码用于改写http://www.cnblogs.com/resake/archive/2008/06/23/1228039.html提到的生成+-*/表达式。 using System; using System.Collections.Generic; #region 应用程序入口 public class Resake { public static void Main() ... 阅读全文
posted @ 2008-06-23 16:22 resake 阅读(441) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->for(int i = 0; i<99 ;i++) { Random rnd = new Random(); //运算符 int ... 阅读全文
posted @ 2008-06-23 12:07 resake 阅读(487) 评论(0) 推荐(0) 编辑