SQL Language (MOSC)

MOSC Banner

Problem with sorting

edited Feb 20, 2020 11:09AM in SQL Language (MOSC) 3 commentsAnswered ✓

Hi all,

i am doing an application migration from db2 to oracle, and i have a sorting problem; I attach two example queries, on the left the query on db2, and on the right the query on Oracle:

On Oracle setting the parameters nls_sort = binary and nls_comp = binary I can get:

T

-

1

2

A

a

How can I get:

T

-

1

2

a

A

?

Best Regards

Nicola

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center