Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select Top 1 with MSDE
Message
From
27/07/2004 11:20:00
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Select Top 1 with MSDE
Miscellaneous
Thread ID:
00928321
Message ID:
00928321
Views:
64
Hey Fox Folx!
I have a Web Connect app (VFP8) that's been running fine for a while. It utilizes a DBC full of Remote Views connecting to a SQL Database. One of the views has the following syntax:

SELECT TOP 1 key_ FROM event ORDER BY key_ DESC

When I put in a new install of this, I have a routine that rebuilds the DBC from a table. When I put in my first one running on MSDE (instead of full blown SQL Server 2000), I get an error when I hit the 'CREATE VIEW' for this View (and one other View that uses the same 'SELECT TOP 1' syntax).

What gives? I have tried SPT on the machine and I always get a return of -1 when I try anything with SELECT TOP in it. Is this a known differnce between MSDE and SQL Server?

Thanks in advance!
-- John Kiernan
"Maybe Amelia Earhart was just stealing the plane".
Next
Reply
Map
View

Click here to load this message in the networking platform