SQL Server setting is "ansi_padding"=ON and using JSONIMPORT to import data into datawindow but wherever data type of column in SQL server is CHAR, trailing spaces are coming.
If we don't use JSONImport functionality to import data into Datawindow so trailing spaces not come due to INI setting as provided below
SQLCA.DBParm = "Provider='SQLNCLI11',Database='"+ls_database_name +"',TrimSpaces=1,NCharBind=0, PBTRIMCHARCOLUMNS='YES'".
I tried everything feasible thing, please give me the solution as I don't want to change the data type from CHAR to VARCHAR for many table's columns.
you can mail me also at sunil.agrawal@diaspark.com.
Thanks in advance.