摘要: 在oracle数据库中编写sql语句select * from User where userName in ('a1','a2','a2') 这样是可以查询出结果,但如果使用select * from User where userName in (select regexp_replace('''a1#a2#a3''','#',''',''') as tt from dual)这样查没有结果原因暂时认为是in子查询需要传集合,再此先 阅读全文
posted @ 2012-07-20 16:17 大胡子荷西 阅读(827) 评论(0) 推荐(0) 编辑