From: T.J.Farrell <T.J.Farrell@wanadoo.fr>
To: pgsql-sql@postgresql.org
Subject: LIKE vrs ~~
Date: Sat, 3 Jun 2000 22:31:07 +0200
Message-ID: <000601bfcd9a$c39f06e0$2c3cfac1@oemcomputer> (raw)
Hello,
I was wondering about the performance incidence of :
SELECT * FROM table1 WHERE UPPER(field1) LIKE
UPPER('%thomas%');
versus:
SELECT * FROM table1 WHERE field1 ~~ '%thomas%'
if any...
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: T.J.Farrell@wanadoo.fr
Subject: Re: LIKE vrs ~~
In-Reply-To: <000601bfcd9a$c39f06e0$2c3cfac1@oemcomputer>
References: <000601bfcd9a$c39f06e0$2c3cfac1@oemcomputer>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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