Data not returned on Multible SQL Query
Hi,
I have a Problem with the new .net Connecter ver. 1.0.2.
When I'm making an Query with multible SQL queries in one query like this.
SELECT viewhour.hourtext as 'Date Time', ifnull(count(dstport),0) AS 'Connections' FROM SrcDstStats right outer join viewhour ON hour(from_unixtime(timecollected)) = viewhour.hour and timecollected between 1099609200 and 1099695600 and dstport = 80 and devicetype = 0 GROUP BY viewhour.hour, viewhour.hourtext ORDER BY viewhour.hour asc;
SELECT viewhour.hourtext as 'Date Time', ifnull(count(dstport),0) AS 'Connections' FROM SrcDstStats right outer join viewhour ON hour(from_unixtime(timecollected)) = viewhour.hour and timecollected between 1099609200 and 1099695600 and dstport = 25 and devicetype = 0 GROUP BY viewhour.hour, viewhour.hourtext ORDER BY viewhour.hour asc;
Then it fails. Returns no data. But if its only one query then it returns data.
I'm using the dataadaptor to retrieve the data. It was working with the old ByteFX 0.76 version.
regards
Jorgen Hoffmeister
Subject
Written By
Posted
Data not returned on Multible SQL Query
November 17, 2004 04:21AM
November 17, 2004 01:00PM
November 30, 2004 04:25PM
December 07, 2004 03:18AM
December 09, 2004 04:35PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.