The case data is stored as a single text value, so you can't really use SQL queries to extract data from it. We've discussed allowing such functionality in the future.
The purpose of the SqlQuery function at the moment is mostly to use with paradata logs.
Congratulations Greg and the Cspro Developer Team!
"The case data is stored as a single text value, so you can't really use SQL queries to extract data from it. We've discussed allowing such functionality in the future."
This is one of the most important news about Cspro evolution!
Best regards,