DMXzone Server Connect Support Product Page

Answered

How do I limit the number of results in a query?

Asked 22 Mar 2018 11:00:14
1
has this question
22 Mar 2018 11:00:14 Bruce Wilkie posted:
How do I limit the number of results in a query, for example in the SQL query "SELECT * FROM Orders LIMIT 30"

I'm using the Query builder and can't see how to add the limit.

Thanks
Bruce

Replies

Replied 22 Mar 2018 11:06:02
22 Mar 2018 11:06:02 Teodor Kuduschiev replied:
Hi Bruce, for setting limits, please use paged query. Normal queries do not have any limits.
Replied 22 Mar 2018 11:56:42
22 Mar 2018 11:56:42 Bruce Wilkie replied:
Thanks Teodor

How do I use a paged query? Did a search for the term on DMX website but got no results. Is there a tutorial for this somewhere?
Replied 22 Mar 2018 12:25:47
22 Mar 2018 12:25:47 Teodor Kuduschiev replied:
Well, just add a "database paged query" in server connect instead of "database query".
Replied 22 Mar 2018 12:33:46
22 Mar 2018 12:33:46 Bruce Wilkie replied:
Perfect!

Thanks Teodor

Reply to this topic