Cheers Rudy !!!
It works a treat and takes only 8 seconds :)
Here is my version:
SELECT id,ip,max(form) as form1 from jan2004 GROUP BY ip ORDER BY date
Thanks again !!!
Steve
Hi,
I have hot a table with 50,000 + rows of IP addresses ripped from apache logs. I need to SELECT DISTINCT the ip and check if the field 'form' is set to 1. if form is not =1 then still select eg.
TABLE -
IP form
169.168.0.1 0
169.168.0.1 0
169.168.0.1 1...
I too was having this problem, but have just solved it using this command:
Report.Database.Tables(1).SetLogOnInfo ODBC, , Username, Password
In the def for this it says servername, but this needs to be the ODBC name(first parameter) thats what caught me out.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.