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)
 select top 1

Author  Topic 

Priya Rajagopalan
Starting Member

10 Posts

Posted - 2005-09-23 : 00:17:14
"Select top 1 * from <tablename>" query is working fine in one database. If execute the same query in another database in the same server, am getting the error " Incorrect Syntax near 1" .Please let me know a solution for this.

Priya

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2005-09-23 : 00:23:31
Duplicate post
Continue your discussions here
http://sqlteam.com/forums/topic.asp?TOPIC_ID=55572

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -