This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes query works in SQL server but not Access :'( Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "query works in SQL server but not Access : Watch "query works in SQL server but not Access : New topic
Author

query works in SQL server but not Access :'(

H Melua
Ranch Hand

Joined: Jan 04, 2005
Posts: 172
Hi

I've been trying to write a query in MS Access, but i didnt get anywhere...
doing some research on writing queries, i've come up with this query which i know does what i want, but it only works on SQL server, apparently!! It gives me a syntax error missing operator in "Count(Distinct OrderID)"

So can anyone help me figuring out a one that would work with MS Access...



Thanks in advance
HannaH


i really think Microsoft should abolish MS Access, its just a real curse!
[ February 07, 2006: Message edited by: H Melua ]
 
Don't get me started about those stupid light bulbs.
 
subject: query works in SQL server but not Access :'(
 
Similar Threads
Ibatis Query Returns null
regarding MS access sql query
multiple Select doesn't work.
Problem with SYS_CONNECT_BY_PATH
SQL syntax for displaying the total count of tables from a database