Page 1 of 1

query on char field

Posted: Tue 22 Oct 2019 10:09
by Amod
Version dotNetDirect9.0\9.3.230

I am facing issue with where clause UPPER("COLUMN_NAME") = 'S', the column type is char(4), as it returns no rows. The same works from my Oracle sql client.

I changed 'S' with 'S ' (S with 4 spaces) and it works.

Any suggestions?

Re: query on char field

Posted: Sat 26 Oct 2019 13:56
by Shalex
Try adding "Trim Fixed Char=false;" to your connection string. Does this help?

Refer to https://www.devart.com/dotconnect/oracl ... tring.html.