Hi,
Few Questions..
1. what is the Database u r using?
2. Is that the only statement u r trying to execute, or is there a buch of T-SQL stmnt u r trying to execute?
If the database is SQL server then TOP command might not work, and if it is SQL SERVER then syntax I gave is correct, so if u r having a bunch of statements being excuted then the error might be on previuos lines.
Hope it helps
Sunil