pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedWild Cards
3+ messages / 3 participants
[nested] [flat]
* Wild Cards
@ 2001-01-25 13:39 <No Name> <bobmarley4u2c@yahoo.com>
2001-01-25 19:29 ` Re: Wild Cards Brett W. McCoy <bmccoy@chapelperilous.net>
0 siblings, 1 reply; 3+ messages in thread
From: " @ 2001-01-25 13:39 UTC (permalink / raw)
To: pgsql-sql
I am not able to get Wildcards in PostgreSQL, I know its * (asterisk), but
its not working. can someone show me a example or something?
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Wild Cards
2001-01-25 13:39 Wild Cards <No Name> <bobmarley4u2c@yahoo.com>
@ 2001-01-25 19:29 ` Brett W. McCoy <bmccoy@chapelperilous.net>
2001-01-27 05:39 ` Re: Wild Cards Rodger Donaldson <rodgerd@diaspora.gen.nz>
0 siblings, 1 reply; 3+ messages in thread
From: Brett W. McCoy @ 2001-01-25 19:29 UTC (permalink / raw)
To: " <No Name>; " <bobmarley4u2c@yahoo.com>; +Cc: pgsql-sql
On Thu, 25 Jan 2001, <No Name> wrote:
> I am not able to get Wildcards in PostgreSQL, I know its * (asterisk), but
> its not working. can someone show me a example or something?
Wildcards where? You can use * to mean all the fields in a table in a
SELECT statement, but if you are using LIKE in a WHERE clause, the
wildcards are % to mean any group of characters and _ to mean any single
character.
-- Brett
http://www.chapelperilous.net/~bmccoy/
---------------------------------------------------------------------------
It's a good thing we don't get all the government we pay for.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Wild Cards
2001-01-25 13:39 Wild Cards <No Name> <bobmarley4u2c@yahoo.com>
2001-01-25 19:29 ` Re: Wild Cards Brett W. McCoy <bmccoy@chapelperilous.net>
@ 2001-01-27 05:39 ` Rodger Donaldson <rodgerd@diaspora.gen.nz>
0 siblings, 0 replies; 3+ messages in thread
From: Rodger Donaldson @ 2001-01-27 05:39 UTC (permalink / raw)
To: pgsql-sql
On Thu, Jan 25, 2001 at 02:29:55PM -0500, Brett W. McCoy wrote:
> On Thu, 25 Jan 2001, <No Name> wrote:
>
> > I am not able to get Wildcards in PostgreSQL, I know its * (asterisk), but
> > its not working. can someone show me a example or something?
>
> Wildcards where? You can use * to mean all the fields in a table in a
> SELECT statement, but if you are using LIKE in a WHERE clause, the
> wildcards are % to mean any group of characters and _ to mean any single
> character.
Although, of course, you can use POSIXlish regexps with the ~* and ~
operators.
--
Rodger Donaldson rodgerd@diaspora.gen.nz
"My mother made me a lesbian"
"Oh goody! If I buy her the wool, will she make me one too??"
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2001-01-27 05:39 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-01-25 13:39 Wild Cards <No Name> <bobmarley4u2c@yahoo.com>
2001-01-25 19:29 ` Brett W. McCoy <bmccoy@chapelperilous.net>
2001-01-27 05:39 ` Rodger Donaldson <rodgerd@diaspora.gen.nz>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox