MSSQL
libin198241
这个作者很懒,什么都没留下…
展开
-
SQLServer 存储过程中不拼接SQL字符串实现多条件查询
拼接的写法 set @sql=' select * from table where 1=1 ' if (@addDate is not null) set @sql = @sql+' and addDate = '+ @addDate + ' ' if (@name '' and is not null) set @sql = @sql+ ' a...原创 2013-08-22 16:16:24 · 87 阅读 · 0 评论 -
PowerDesigner中name和comment互換
1 PowerDesigner中批量根据对象的name生成comment的脚本 执行方法:Open PDM -- Tools -- Execute Commands -- Run Script Option Explicit ValidationMode = True InteractiveMode = im_Batch Dim mdl 'the current model ...原创 2014-03-21 11:10:58 · 118 阅读 · 0 评论