From: | "Ross J(dot) Reedstrom" <reedstrm(at)rice(dot)edu> |
---|---|
To: | Brice Ruth <brice(at)webprojkt(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: [SQL] Re: SQL Join - MySQL/PostgreSQL difference? |
Date: | 2001-02-06 23:55:39 |
Message-ID: | 20010206175539.A22236@rice.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-sql |
Brice -
What's the result of
select monographid,length(monographid) from tblpemdruglink where
monographid ~ '^2008';
It occurs to me that your delimited text file may have padded values,
and "=" insists on exact matches for VARCHAR.
update tblpemdruglink set monographid=btrim(monographid);
might help, if the first query returns anything but 4.
Ross
On Tue, Feb 06, 2001 at 05:22:59PM -0600, Brice Ruth wrote:
> Here's something to chew on ...
>
> The following snippet of SQL produces a result:
>
<SNIP>
> Please respond to this newsgroup, the mailing list (which should be
> mirrored on the newsgroup), and/or to me personally. I'm twiddlin' my
> thumbs until I can figure this one out.
>
> Regards,
> Brice Ruth
From | Date | Subject | |
---|---|---|---|
Next Message | Warren Vanichuk | 2001-02-06 23:56:31 | Deadlock and aborted queries.. |
Previous Message | Mark Lane | 2001-02-06 23:27:01 | Re: Re: new type proposal |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-02-06 23:57:17 | Re: timestamp- milliseconds since epoch output |
Previous Message | Brice Ruth | 2001-02-06 23:22:59 | Re: SQL Join - MySQL/PostgreSQL difference? |