April 19, 2020 at 8:20 am
I'm getting this problem message when executing my SQL query:
"Generated SELECT statement. 'No mapping exists from DbType Object to a known OdbcType."
My SQL query:
SELECT hencdiag.diagcode, hadmlog.hpercode, CONCAT(hperson.patlast, ', ', hperson.patfirst, ' ', hperson.patmiddle) AS name, hcity.ctyname AS district, haddr.ctycode,
hadmlog.disdate
FROM hadmlog INNER JOIN hperson ON hadmlog.hpercode=hperson.hpercode INNER JOIN haddr ON hadmlog.hpercode=haddr.hpercode INNER JOIN hencdiag ON hadmlog.enccode=hencdiag.enccode INNER JOIN hcity ON haddr.ctycode=hcity.ctycode
WHERE (hcity.ctyname = ?) AND (hencdiag.diagcode IN (?, ?)) AND (hadmlog.disdate >= ?) AND (hadmlog.disdate <= ?) AND
(hencdiag.primediag = 'Y') AND (hencdiag.tdcode = 'FINDX') AND (haddr.haddrdte =
(SELECT MAX(haddrdte)
FROM haddr
WHERE (haddr.hpercode = hperson.hpercode)))
ORDER BY name
April 20, 2020 at 9:10 am
Thanks for posting your issue and hopefully someone will answer soon.
This is an automated bump to increase visibility of your question.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy