Unix Technical Forum

Sort Ignoring Spaces

This is a discussion on Sort Ignoring Spaces within the Pgsql General forums, part of the PostgreSQL category; --> Hi, I'm sorting a road name table but it seems to be ignoring the spaces when it's sorting. Why ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 10:29 PM
google.com@pederick.com
 
Posts: n/a
Default Sort Ignoring Spaces

Hi,

I'm sorting a road name table but it seems to be ignoring the spaces
when it's sorting. Why is this and how can I stop it?

Example:

Searching for ILIKE 'MORRIS%' returns

MORRIS AVE
MORRIS DR
MORRIS LA
MORRISON CL
MORRISON CRT
MORRISON DR
MORRISON PL
MORRISON RD
MORRISONS AVE
MORRISON ST
MORRIS RD
MORRIS ST

Any help or advice would be greatly appreciated.

Thanks in advance,

Scott

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:37 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com