Subject | Re: [firebird-support] Stored Procedures in Selects |
---|---|
Author | t.s. |
Post date | 2006-07-26T23:34:31Z |
killerion wrote:
select c.id_client, c.fname, c.lname, p.total as due, c.due_date
from clients c
left join prcdr_due(c.id_client) p on (1=1);
regards,
ts.
> I have this query:Try this :
> SELECT clients.id_client, clients.fname, clients.lname, (SELECT total
> FROM prcdr_due(clients.id_client) AS due, clients.due_date FROM clients
>
> the due column returns as null instead of having a value, when I
> execute the procedure in ibexpert I get the correct results, so any
> suggestions would be greatly appreciated
select c.id_client, c.fname, c.lname, p.total as due, c.due_date
from clients c
left join prcdr_due(c.id_client) p on (1=1);
regards,
ts.