Newbies rbbutz Posted March 13, 2006 Newbies Posted March 13, 2006 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!!
mattley Posted March 17, 2006 Posted March 17, 2006 Before your select use SET ROWCOUNT = n And use ORDER BY to get the the top n for that column
angelleye Posted February 20, 2007 Posted February 20, 2007 (edited) 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, 2007 by Guest
Kranky Posted February 27, 2007 Posted February 27, 2007 According to the Filemaker documentation (FM8_ODBC_JDBC_Developer.pdf), SET ROWCOUNT is not a supported SQL statement. Neither are LIMIT or TOP.
Recommended Posts
This topic is 6478 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now