Hi there,
Our business is having a problem when using a queryEntity in Appian for a certain field. It converts that field to an NVARCHAR(4000) (I'm assuming because it's a text field) even though our Database and Data Type have it listed as VARCHAR(50). In SQL Server, when comparing an NVARCHAR to a VARCHAR, it causes an implicit conversion of all data in the VARCHAR column which is a big performance hit for us.
Is there any way to make sure that the parameter uses VARCHAR(50) instead of NVARCHAR(4000)?Thank you
Discussion posts and replies are publicly visible
Hi jimmyn253 Did you find any resolution to this ?We are also facing the same problem. Due to varchar to nvarchar conversion, DB is not picking the right index to filter data from table. And it is causing huge performance issues sometimes. In our case also, its SQL Server.