Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
7 replies
Subscribers
9 subscribers
Views
3066 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
#queryEntity #distinctrows Hi, I want to fetch distinct rows from a table using
ankitab
over 9 years ago
#queryEntity #distinctrows Hi, I want to fetch distinct rows from a table using query entity. How can I achieve that?
OriginalPostID-184577
OriginalPostID-184577
Discussion posts and replies are publicly visible
Parents
0
sikhivahans
over 9 years ago
@ankitab I assume that you don't require a grouping in your scenario, if so, as per my knowledge it's better to delegate the processing to the database (might be a database view) rather than making use of a!queryEntity() or a fn!union() function over resultant datasets. The same has been mentioned at https://forum.appian.com/suite/help/7.11/Query_Recipes.html#Get_the_Distinct_Values_of_a_Field as 'It will almost always be significantly faster to have the data source do the uniqueness calculation before returning the data to Appian.' Let's see if other practitioners can come up with better suggestions.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sikhivahans
over 9 years ago
@ankitab I assume that you don't require a grouping in your scenario, if so, as per my knowledge it's better to delegate the processing to the database (might be a database view) rather than making use of a!queryEntity() or a fn!union() function over resultant datasets. The same has been mentioned at https://forum.appian.com/suite/help/7.11/Query_Recipes.html#Get_the_Distinct_Values_of_a_Field as 'It will almost always be significantly faster to have the data source do the uniqueness calculation before returning the data to Appian.' Let's see if other practitioners can come up with better suggestions.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data