Hi, Try without the comma. Also, you will need to pass a folder path. Select r_object_id from dm_document where folder('/xyz') ENABLE(RETURN_RANGE 1 50 'r_object_id asc');
I don't see the closing parenthesis in the error. If you included it, It may be whatever tool you are using. Have you tried IDQL on the Content Server directly? The query I posted runs fine for me.