>Thank you, Yuri. What is not clear (and maybe I am missing something) is how do you specify an alias name that will be assigned to the returned query?
You're not getting a cursor this way. You're getting a recordset.
If it's not broken, fix it until it is.
My Blog