From: Ondřej Světlík <osvetlik@flexibee.eu>
To: pgsql-admin@postgresql.org
Cc: taizi <taizi2006blog@163.com>
Subject: Re: why my sounex does not work?
Date: Sun, 14 Aug 2016 21:23:02 +0200
Message-ID: <891b3244-146b-514b-d19f-3ce6fe8940f3@flexibee.eu> (raw)
In-Reply-To: <5785f0c0.439f.15689ccd88d.Coremail.taizi2006blog@163.com>
References: <5785f0c0.439f.15689ccd88d.Coremail.taizi2006blog@163.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
Dne 14.8.2016 v 18:05 taizi napsal(a):
> Hi Everybody,
> this is my first time to ask question on mail list about question of DB.
> i JUST start to read a book from ben forta, which sql in 10.
> The quetion is while i type as scrip in books on following:
> SELECT CUST_NAME, CUST_CONTACT
> FROM CUSTOMERS
> WHERE SOUNDEX(CUST_CONTACT) =SOUNDEX(' MICHAEL GREEN');
> The result is not same as shown in book.
> My psql remind me that sound(character) does not exist.
> how can i deal with it? My psql version is 9.5
> your sincerely
> edison
>
>
>
>
Ho Edison,
do you have postgresql-contrib installed? Did you create the extension?
CREATE EXTENSION fuzzystrmatch;
Regards
Ondřej
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: osvetlik@flexibee.eu, taizi2006blog@163.com
Subject: Re: why my sounex does not work?
In-Reply-To: <891b3244-146b-514b-d19f-3ce6fe8940f3@flexibee.eu>
* 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