Does getDataSetByQuery() have similar limitations?
Have some queries which work fine from 3rd party tools, but not inside Servoy. Here is one example:
- Code: Select all
(SELECT clients.client_name, sum(invoices.invoice_amount), (CASE WHEN clients.client_new_fy_id = 4 THEN 'new' ELSE 'old' END) as isnew FROM invoices, clients
WHERE invoice_fy_id = 4
AND invoices.invoice_client_id = clients.client_id
GROUP BY isnew,client_name ORDER BY isnew,client_name)
PostgreSQL 8, Servoy 2.2rc3, Mac OS X 10.3.8