Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Query limits

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-06-21 : 11:03:46
Antonio writes "how can i limit my rows result in a SQL_Server 6.5 query???

I know that MySQL runs like:

"SELECT field1 FROM TABLE1 LIMIT 5"

I've tried

"SELECT TOP 5,field1 FROM TABLE1"

but it wasn't run.

PD: My query is on an ASP script. Thanks"
   

- Advertisement -