I am still having the problem with the versione 1.0.47.2
I am getting the error on this query
SELECT * FROM PARTENERI WHERE CodExtern='RO 13027156'
UNION ALL
SELECT CodExtern, Denumire, CodFiscal, Localitate, Adresa, Telefon, SimbolClasa,SimbolCategPret, 0 AS Scadenta, '' AS BancaCont, '' AS RegCom, 0 AS Sold,0 as SoldAgent,DATETIME('NOW') as DataFactScad,DATETIME('NOW') as DataFactScad FROM Parteneri_Noi WHERE CodExtern='RO 13027156'
ORDER BY DENUMIRE
If I take out the ORDER BY it works. The problem is when the second query the select returns an empty result. If you want I can send you the database.