I'm upgrading from v2.6 to v4.0 and see, that the runtime queries generated for SQL Server 2000 (v8.0.2039 = SQL 2000) with a 'TOP'-clause are wrong.
The transact-sql syntax is 'SELECT DISTINCT TOP x' and not 'SELECT DISTINCT TOP(x)', as is generated (this is the syntax for SQL 2005 and up ) by LLBLGen.
As a result, i'm getting "Incorrect syntax near '('. " at runtime.