我继承了一个我已经转换为vb的C#应用程序.我收到一个错误,据我所知,与转换无关.
我有一个sql语句是….
SELECT ResolverID AS ddlValue,ResolverTeam & ' | ' & ResolverPerson AS ddlText FROM dbo.TblResolvers ORDER BY ResolverTeam,ResolverPerson;
当这运行我得到错误:
The data types nvarchar and varchar are incompatible in the boolean
AND operator.
在表中ResolverTeam和ResolverPerson都被指定为(nvarchar(255),null)
为什么我得到这个错误?
@H_404_19@