摘要: .RowFilter = "Code Like 'NY10011-[*][*]-001-100T',查询字符串中若含有*,用中括号括起来 阅读全文
posted @ 2005-05-07 16:11 阿土仔 阅读(520) 评论(0) 推荐(0) 编辑
摘要: sql 多条件查询的一种简单的方法 以前我们做多条件查询,一种是排列结合,另一种是动态拼接SQL 如:我们要有两个条件,一个日期@addDate,一个是@name 第一种写法是 if (@addDateis notnull) and (@name '') select* from table where addDate = @addDate and name = @na... 阅读全文
posted @ 2005-05-07 11:53 阿土仔 阅读(7345) 评论(0) 推荐(0) 编辑