Get the list item having highest number of versions created
Hi,
Is there a way I can programatically fetch the listitem that has highest number of major versions created WITHOUT iterating through all the list items ?
I tried ORDERBY on the _UIVersionString column and set rowlimit to 1. Somehow I am not able to make it work, The query always retuns the first item and not the one with MAX versions