You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Rick Hillegas (JIRA)" <ji...@apache.org> on 2013/08/05 20:32:47 UTC

[jira] [Updated] (DERBY-6310) NLS SESSION SORT

     [ https://issues.apache.org/jira/browse/DERBY-6310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Hillegas updated DERBY-6310:
---------------------------------

               Urgency: Normal  (was: Urgent)
    Bug behavior facts:   (was: Crash)
            Issue Type: Improvement  (was: Bug)

Changing this issue from Bug to Improvement. ALTER SESSION is not a Standard SQL statement. However, the SQL Standard defines a statement with similar meaning (see part 2 of the Standard, section 19.10 <set session collation statement>):

SET COLLATION <collation specification> [ FOR <character set specification list> ]

The SET COLLATION statement changes the collation used for ordering character data in queries issued by the current session.

Right now Derby only lets you declare the collation for ALL user data in the database. This declaration can only be made when the database owner creates the database. The declared collation applies to all user data in all sessions. There is currently no way to change the collation during the lifetime of the database.

This feature would be related to the ability to change the collation for the whole database: DERBY-5179. 
                
> NLS SESSION SORT
> ----------------
>
>                 Key: DERBY-6310
>                 URL: https://issues.apache.org/jira/browse/DERBY-6310
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 10.8.2.2
>         Environment: Java 1.6 / 1.7, Derby 10.8.2.2
>            Reporter: Sebastian Ritter
>
> Migrating from Oracle missing SQL Statement:
> ALTER SESSION SET NLS_SORT=binary

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira