Technokrat
Programmer
I'm running SQL Server V7 on two different servers, and the "select top..." statement works on one, but not the other. Any ideas?
Some specifics:
Server1:
select top 1 JSO.SO_Num from JOBS_SO JSO
SO_Num
-----------
1
(1 row(s) affected)
------------------------------------
Server2:
select top 1 JSO.SO_Num from JOBS_SO JSO
Server: Msg 170, Level 15, State 1, Line 1
Line 1: Incorrect syntax near '1'.
Some specifics:
Server1:
select top 1 JSO.SO_Num from JOBS_SO JSO
SO_Num
-----------
1
(1 row(s) affected)
------------------------------------
Server2:
select top 1 JSO.SO_Num from JOBS_SO JSO
Server: Msg 170, Level 15, State 1, Line 1
Line 1: Incorrect syntax near '1'.