What if you tried setting each parameter to blank, saving the query, then going back in and remapping them manually? I sometimes find that Kinetic doesn’t like to map the parameters properly when they’re defaulted, so I have to manually reset them like this to get everything working.
This seems suspicious to me. Did you copy/paste any GPT code as SQL or expressions? Sometimes they can hide characters in their code that breaks compilers. Lets see your parameters for the first BAQ.
Thanks for your reply. Initially yes same with temp table. The Baq test error goes back n forth between this hexadecimal error and non-descript correlation error. I’ll try temp once more then go hunt down the log.
I have String or binary data would be truncated.
The statement has been terminated.
—> Microsoft.Data.SqlClient.SqlException (0x80131904): String or binary data would be truncated.
The statement has been terminated.
something with data types you use.
here is temp table def
CREATE TABLE #_ref_baq_Dates_baq_Dates(
Calculated_Date date null,
Calculated_Year int null,
Calculated_Month int null,
Calculated_Day int null,
Calculated_WeekDayName nvarchar(8) null,
Calculated_WeekDayNumber int null,
Calculated_WeekOfYear int null,
Calculated_FirstOfMonth date null,
Calculated_EndOfMonth date null,
Calculated_Quarter int null,
Part_Company nvarchar(8) null)