Hello,
sc9 with Microsoft SQL 2012 as DB.
In a single line form I use the following SELECT COALESCE statement to update the value of the “versione” column (declared as Select type).
SELECT COALESCE(1+MAX(versione),1)
FROM dbo.SAMPLES_CH
WHERE season=’{season}’ AND pattern=’{pattern}’
The syntax in the SQL GUI is working.
I enabled debugging in the SC form application, and the SQL syntax is the same , but in Scriptacse, the field does not update.
Is this by design (problem with COALESCE maybe ? ) , or is it a bug ?
I am looking for a workaround .
Thanks, Federico