读书人

这句sql语句提示标准表达式中数据类

发布时间: 2012-01-23 21:57:28 作者: rapoo

这句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 )

读书人网 >C#

热点推荐