generic_queries.sql uses LIMIT keyword but SQL Server doesn't support it. So users get an exception (in my case, when a forum is moderated by a group and group name is clicked at the bottom of the forum page - UserModel.selectAllByGroup query).
So sqlsever.sql should include UserModel.selectAllByGroup, but I couldn't find an equivalent keyword in SQL Server. What can be done?
My temp solution was to copy UserModel.selectAllByGroup to sqlsever.sql and to change it as:
No, actually my error message was something like "LIMIT: Unknown keyword", I couldn't find the output file, so couldn't copy the exact error here. But the error (and SQL Server documentation) says that SQL Server doesn't support LIMIT keyword at all.
In my temp solution, I just removed it. It now works, but I don't know what's going to happen, when number of records are too much...
I guess your solution is for posgres. But thanks for the reply [originally posted on jforum.net by cagin]