简体   繁体   中英

NexusDB: <unnamed TnxODBCQuery instance>: Query execution failed: Type mismatch (nxtInterval <> nxtNullString) when comparing at line

Getting the error below, when I was trying to pull the records from Nexus Database.

Error:

NexusDB: : Query execution failed: Type mismatch (nxtInterval <> nxtNullString) when comparing at [$3CA0/15520]

Query:

SELECT * from 
FROM Student
INNER JOIN Department on Department.Code =  Student.DepartmentCode AND (Department.INACTIVE = false OR Department.INACTIVE IS NULL) 
WHERE  Student.DepartmentCode in ?listofCode?

listofCode=> 'Mec,Ece'

Note: We are using Dapper

Using a parameter for the IN ... list is not supported. Use literals, eg IN ('Mec', 'Ece')

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM