Oswaldo Hernández escribió: > He ejecutado la siguiente sentecia en dos maquinas distintas: > > select a > from ( > select 'Abc ' as a union > select ' abc' as a union > select 'xyz ' as a union > select ' Xyz' as a > ) foo > order by 1
Otros ejemplos interesantes es estudiar qué pasa cuando tienes letras con acentos, y demás. Por ejemplo: Álvaro Alvaro Oswaldo Cotorro En mi sistema, bien configurado, el orden es así: Alvaro Álvaro Cotorro Oswaldo En cambio si compara bytes (como quiere elcotorro), el resultado es este: $ LC_ALL=C sort < test.sort Alvaro Cotorro Oswaldo Álvaro -- Alvaro Herrera http://www.amazon.com/gp/registry/CTMLCN8V17R4 htor: I use epiphany -- the best browser in this universe. starcraft.man: Your insightful and deep commentary is simply breathtaking. (http://ubuntuforums.org/showthread.php?t=524586) -- TIP 3: Si encontraste la respuesta a tu problema, publícala, otros te lo agradecerán