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

来源:百度知道 编辑:UC知道 时间:2024/05/25 05:53:53
简单的ASP问题:wherebranch = " " & br & " IN(" & mybranch & ")"这句话的IN是什么意思,IN有什么用??

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