UNION queries returning 1 in Cake 2.0
Hi all.
i'm quering an SQL Server DB with a query like this
(
SELECT
name
FROM
customers
) UNION (
SELECT
name
FROM
suppliers
)
ORDER BY name
SELECT
name
FROM
customers
) UNION (
SELECT
name
FROM
suppliers
)
ORDER BY name
and i'm always getting "1" as response.
model::query doesn't support UNION queries?
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home