Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 433 Vote(s) - 3.41 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to do an ORDER BY ignoring the diacritical marks (use a collation) in Cypher?

#1
I have a list of names where some names contain diacritics characters, like `Á`, `Ê`

For example:

Átila
André
Êlisa
Mercês


But when I run a simple query like this:

MATCH (p:Person)
ORDER BY p.Name

It returns the names out of alphabetical order, because of the diacritics:

André
Mercês

Átila
Êlisa

I would like that it return in alphabetical order, independently of the presence of diacritics (pt-BR / portuguese / Brazil).

I can do this in Microsoft SQL Server:

SELECT Name
FROM Person
ORDER BY Name COLLATE SQL_Latin1_General_CP1_CS_AS

How to do that in Cypher?

Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through