Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit17d3233

Browse files
committed
Update statement about sorting of character-string data.
The sort order is no longer fixed at database creation time, but can becontrolled via COLLATE. Noted by Thomas Kellerer.
1 parent4ec6581 commit17d3233

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

‎doc/src/sgml/ref/select.sgml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,8 +1050,13 @@ SELECT name FROM distributors ORDER BY code;
10501050
</para>
10511051

10521052
<para>
1053-
Character-string data is sorted according to the locale-specific
1054-
collation order that was established when the database was created.
1053+
Character-string data is sorted according to the collation that applies
1054+
to the column being sorted. That can be overridden at need by including
1055+
a <literal>COLLATE</> clause in the
1056+
<replaceable class="parameter">expression</replaceable>, for example
1057+
<literal>ORDER BY mycolumn COLLATE "en_US"</>.
1058+
For more information see <xref linkend="sql-syntax-collate-exprs"> and
1059+
<xref linkend="collation">.
10551060
</para>
10561061
</refsect2>
10571062

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp