I'm new in using zeoslib and I need some help.
I use ZeosLib with Lazarus on linux and my need is to connect to MsSql (2019) so I've FreeTds installed.
Some records contains strange chars as an example "ETIC.TE ADES.A4 ANG ROTONDO Ø".
My code is very simple:
var statement:IZStatement; s: string; ... begin ... s:='select Id, Description from Table1 where ....'; rs := statement.ExecuteQuery(s); ... endSo, when the WHERE clausole detect these strange values, i get an exception in: rs := statement.ExecuteQuery(s);
DBError : [2403] : Some character(s) could not be converted into client's character set. Unconverted bytes were changed to question marks ('?')
The 1st help I need is on how to fix this conversion error.
The 2nd is: why ExecuteQuery raise an exception?
I expected an exception when reading columns but not in the execution.
Thanks in advance
nomorelogix