摘要: select from tablenmae where id in(1,2,3) 这样的语句和常用,但是如果in 后面的 1,2,3是变量怎么办呢,一般会用字符串连接的方式构造sql语句 string aa="1,2,3"; string sqltxt="select from tablename 阅读全文
posted @ 2018-12-19 17:29 Hello,Code 阅读(2935) 评论(0) 推荐(1)