摘要:
#region Assembly Attribute Accessors public string AssemblyTitle { get { object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyTitleAttribute), false); if (attributes.Length > 0) { ... 阅读全文
摘要:
/* --Desc: 在计算员工当前日期的生日时,需要考虑闰年的问题, 一般在2月29号出生的人在非闰年时生日在3月1号过。 --Environment: SQL SERVER 2008 --Author: Learnsql*/USE Tempdb;GO--创建测试表CREATE TABLE #Employee( [Name] NVARCHAR(10), BirthDay DATETIME);GO --插入数据INSERT INTO #Employee([Name],BirthDay) VALUES('Tom','1970-1-3');INSERT INTO # 阅读全文