sarah_thekazekage Posted June 13, 2018 Posted June 13, 2018 I've selected a complete table from the database, I'm using a table element to view the records in the database table.However, I don't want all the records to show up. I want them to be limited to a certain number, such as 40, regardless of their location (they could be the first 40 rows, for example).How do I accomplish that?
jasperrocks Posted June 13, 2018 Posted June 13, 2018 If you are using oracle you can use fetch first 40 rows only clause at the end of the query;If SQL Server TOP 40 clauseIf MYSQL limit 40 clause
sarah_thekazekage Posted June 14, 2018 Author Posted June 14, 2018 This is exactly what I needed. Thanks a lot!
Solution jasperrocks Posted June 14, 2018 Solution Posted June 14, 2018 If you are using oracle you can use fetch first 40 rows only clause at the end of the query;If SQL Server TOP 40 clauseIf MYSQL limit 40 clause
Recommended Posts
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