March 13, 200619 yr Newbies Hi All, Was wondering how to use 'SELECT TOP n * FROM [tablename]'. Or an equivalent function. Using sequelink odbc driver 5.4 on win2003. Any help would be greatly appreciated!!
March 17, 200619 yr Before your select use SET ROWCOUNT = n And use ORDER BY to get the the top n for that column
February 20, 200718 yr I'm trying to do this exact same thing right now and I'm having trouble following your reply Mattley. here's what I did based on what you said: SET ROWCOUNT = 5 SELECT zID FROM Leads_and_Clients WHERE Name = 'Full Name' ORDER BY zID DESC I'm getting a parse error. Any info would be greatly appreciated. Thanks! Edited February 20, 200718 yr by Guest
February 27, 200718 yr According to the Filemaker documentation (FM8_ODBC_JDBC_Developer.pdf), SET ROWCOUNT is not a supported SQL statement. Neither are LIMIT or TOP.
Create an account or sign in to comment