Re: [SQL] Re: SQL Join - MySQL/PostgreSQL difference? - Mailing list pgsql-general

From Tom Lane
Subject Re: [SQL] Re: SQL Join - MySQL/PostgreSQL difference?
Date
Msg-id 28366.981560901@sss.pgh.pa.us
Whole thread Raw
In response to Re: [SQL] Re: SQL Join - MySQL/PostgreSQL difference?  (Brice Ruth <brice@webprojkt.com>)
List pgsql-general
Brice Ruth <brice@webprojkt.com> writes:
> SELECT length(monographid) FROM tblpemdruglink WHERE drugid='DG-5039';
> I get 5 returned to me, even though the string is only 4 ('2008').

Okay, so you've got some invisible character in there, but not a space
(else the trim() woulda got rid of it).  Tab maybe?  Might want to go
back and examine your original data file more carefully, with an editor
that will show you control characters and such.

            regards, tom lane

pgsql-general by date:

Previous
From: "Thomas T. Thai"
Date:
Subject: mysql-est timestamp
Next
From: Michael Fork
Date:
Subject: Re: [SQL] Re: SQL Join - MySQL/PostgreSQL difference?