灭火器换新:简单的ASP问题:wherebranch = " " & br & " IN(" & mybranch & ")"这句话的IN是什么意思,IN有什么用?

来源:百度文库 编辑:神马品牌网 时间:2024/05/05 15:26:55
简单的ASP问题:wherebranch = " " & br & " IN(" & mybranch & ")"这句话的IN是什么意思,IN有什么用??

这应该是拼接sql语句的
功能是一个where 条件部分
比如 where name in(select name from mytable where len(name)>100)
就是看br变量指定的字段里的值再不在mybranch指定的查询结果里