i m running the following request in two different version of toad and the result is different , is it a setting in toad ? ( with sql+ the result is same)
with tab as (
select '3' from dual
union select 'b' from dual
union select 'C' from dual
union select 'a' from dual
union select '1' from dual
)
select * from tab order by 1;
I guess in 10.1.1.8 you meant to have 1 and 3, not 2 and 3? The results don't match the SQL.
That aside, if you ran in a different database, or in the same database but with different NLS SORT parameters (which could be set at database or session level), you could get different results.