日期:2014-05-20  浏览次数:20658 次

这句sql语句,提示标准表达式中数据类型不匹配,如何解决?
select   *   from   info     where     photo     not   in   (   select   id   from   userlist     )  

photo是文本型,id是数字型,
提示标准表达式中数据类型不匹配,
数据库是access,该如何解决?

------解决方案--------------------
select * from info where photo not in (select CStr(id) from userlist )