编码笔记

导航

2013年8月5日 #

通过TCustomAttribute和反射实现动态查询(三)

摘要: 利用TCustomAttribute和反射实现动态查询的管理。 在XE4中实现。 阅读全文

posted @ 2013-08-05 14:23 封三郎 阅读(508) 评论(0) 推荐(0) 编辑

通过TCustomAttribute和反射实现动态查询(二)

摘要: 利用TCustomAttribute和反射实现动态查询的管理。 在XE4中实现。 阅读全文

posted @ 2013-08-05 14:20 封三郎 阅读(605) 评论(0) 推荐(0) 编辑

通过TCustomAttribute和反射实现动态查询(一)

摘要: 利用TCustomAttribute和反射实现动态查询的管理。 在XE4中实现。 阅读全文

posted @ 2013-08-05 14:05 封三郎 阅读(967) 评论(0) 推荐(0) 编辑

SQL升级脚本实现按版本差异化升级(优化)

摘要: 1.增加了对SQL Server 2000的兼容;2.支持对脚本目录的批量处理;3.将脚本版本的判断放到具体的升级子脚本中去,让调度脚本更固化。-- 根据SQL的版本好确定启用xp_cmdshell的方式。declare @DBVersion varchar(50)select @DBVersion= cast(serverproperty('productversion') as varchar(50))declare @index intselect @index = charindex('.',@DBVersion)select @DBVersion = 阅读全文

posted @ 2013-08-05 11:06 封三郎 阅读(692) 评论(0) 推荐(0) 编辑