Setups are managed in the Security subsection of the System Administration section of Portal.

Key documentation is at http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...

Parts specifically relevant to SQL access to data include:

This is a good point. I was relying on the doc at http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=... being correct when it says:

Binary Sorts after tests whether the left operand sorts after the right operand in numeric subscript collation sequence. In numeric collation sequence, the null string collates first, followed by canonical numbers in numeric order with negative numbers first, zero next, and positive numbers, followed lastly by nonnumeric values.

Judging by this subsequent post by [@Mike.Kadow6569] he resolved this issue. I'm posting this answer so his question no longer reports as having no answer.

This link posted in a comment by [@Joyce Zhang] is a good resource for Mike's problem.

Mike, please set the checkmark against this answer, or any other that may appear, so as to mark the question "answered" in DC.