Hi,
I'm using CPLEX 20.1 and connect my model to MSSQL with ODBC Connection. I've tested this connection and it works great.
Here is the problem.
I have a table called Test with 2 columns. The data types of this table in SQL are as follows:
ID int
Name nvarchar(50)
I've create a tuple in OPL as follows:
tuple test{
int ID;
string Name;
}
{test} Tests= ...;
I get the following error because the data type of Name column in my table in SQL is nvarchar.
Exception from IBM ILOG Concert: Cannot handle column type -9.
When I change the data type to varchar, I do not get an error.
Version 12.5 and 12.10 did not have such a problem. What should be done to assign the nvarchar data type to a string? Does anyone have any idea about this topic?
Regards
------------------------------
Sabri Suyunu
------------------------------
#DecisionOptimization