Skip to content

SET COLLATE vs Relational Operators #21

Open

Description

@lscheffler

Both help topics should highlight that SET COLLATION changes the behaviour of Relational Operators for Strings.
This is the Relational Operators <; >; =: <>; #; !=;; <=; >= change there behaviour is SET COLLATE TO "MACHINE" is active or not.
The string comparison == is not affected.
Example:

SET COLLATE TO "GENERAL"
?"GALA"= "Gala"
?"A"= "a"
SET COLLATE TO "MACHINE" && binary
?"GALA"= "Gala"
?"A"= "a"

On the SET COLLATE topic there is a minor

Using a collating sequence other than MACHINE may reduce performance primarily in comparison and ...
But this not a hint to the problem.

I guess it should go into the Remarks section.

Add the other topic to the "See Also" sections.

Activity

  1. added a commit that references this issue on Jun 24, 2022
    ef02b02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions