Re: no records returned - Mailing list pgsql-general

From Lynn.Tilby@asu.edu
Subject Re: no records returned
Date
Msg-id 1067138389.3f9b3d55388c7@webmail.asu.edu
Whole thread Raw
In response to Re: no records returned  (Patrick Welche <prlw1@newn.cam.ac.uk>)
Responses Re: no records returned  ("James Moe" <jimoe@sohnen-moe.com>)
List pgsql-general
Patrick,

James Moe <jimoe@sohnen-moe.com>
also suggested this...

It WORKS!!!

Could you explain to a newbie WHY the like and % at
the end of the literal works when the normal select does
not?

Thanks,
Lynn

Quoting Patrick Welche <prlw1@newn.cam.ac.uk>:

> On Fri, Oct 24, 2003 at 04:27:16PM -0700, Lynn.Tilby@asu.edu wrote:
> ...
> > ZRAN    |2003-10-03|    20031003|      731491|     20.25|      21.
> > (609398 rows)
>
> > pma=> select * from stck_dta_tbl_oprtnl where stck_sym = 'ZRAN';
>
> How about
>
> pma=> select * from stck_dta_tbl_oprtnl where stck_sym like 'ZRAN%';
>
> ? (What is the definition of your table?)
>
> Cheers,
>
> Patrick
>


pgsql-general by date:

Previous
From: Lynn.Tilby@asu.edu
Date:
Subject: Re: no records returned
Next
From: Allen Landsidel
Date:
Subject: Question regarding Perl, DBI, and fork()