Dear Access Gurus,
I use MS SQL Server, but I recently I had to deal with an Access database. There were a few unplesant surprises, as Access didn't understand Transact-SQL
. Here is one glitch:
"select count(IP) from Web_stat" works fine
"select distinct IP from Web_stat" also works
but "select count(distinct IP) from Web_stat" doesn't work, giving a syntax error.
Question: how can I fix this error? Or how can I find out the number of the unique IP's in my database?
Thanks in advance! ---
---
I use MS SQL Server, but I recently I had to deal with an Access database. There were a few unplesant surprises, as Access didn't understand Transact-SQL
"select count(IP) from Web_stat" works fine
"select distinct IP from Web_stat" also works
but "select count(distinct IP) from Web_stat" doesn't work, giving a syntax error.
Question: how can I fix this error? Or how can I find out the number of the unique IP's in my database?
Thanks in advance! ---
---