摘要: 需求:增加年(月、日) 声明:function IncYear ( const StartDate : TDateTime {; NumberOfYears : Integer = 1} ) : TDateTime;描述:IncYear函数将传递进来的StartDateTime参数加上NumberOfYears数量的年数。增减的数量是可选的,默认为1。增加年份后,如果日期数对于当前年月而言太大的话,它会自动缩减为当前年月的最大日期值。例: IncYear(now);//当前日期加1年 IncYear(now, 5);//当前日期加5年 IncYear(now, -1);//当前日期减1年需要操 阅读全文
posted @ 2013-11-09 16:56 冰意 LceMeaning 阅读(769) 评论(0) 推荐(0)
摘要: 方法一:update 表名 set 字段名=NULL方法二:update 表名 set 字段名='' 阅读全文
posted @ 2013-11-09 15:44 冰意 LceMeaning 阅读(241) 评论(0) 推荐(0)