yet another simple SQL question

Поиск
Список
Период
Сортировка
От Joshua
Тема yet another simple SQL question
Дата
Msg-id 467FFEF9.5050603@joshuaneil.com
обсуждение исходный текст
Ответы Re: yet another simple SQL question  (manchicken <manchicken@notsosoft.net>)
Re: yet another simple SQL question  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Re: yet another simple SQL question  (Ragnar <gnari@hive.is>)
Re: [GENERAL] yet another simple SQL question  (Erik Jones <erik@myemma.com>)
Re: yet another simple SQL question  (John Summerfield <postgres@herakles.homelinux.org>)
Список pgsql-sql
Ok,

You guys must be getting sick of these newbie questions, but I can't
resist since I am learning a lot from these email lists and getting
results quick! Thanks to everyone for their contributions.

Here is my questions....

I have a column that looks like this

firstname
-----------------
John B
Mark A
Jennifer D

Basically I have the first name followed by a middle initial. Is there a
quick command I can run to strip the middle initial? Basically, I just
need to delete the middle initial so the column would then look like the
following:

firstname
---------------
John
Mark
Jennifer

Thanks again for all of your help today. Everything you guys have been
sending has produced successful results.

Thanks.

В списке pgsql-sql по дате отправления:

Предыдущее
От: manchicken
Дата:
Сообщение: Re: another simple SQL question
Следующее
От: manchicken
Дата:
Сообщение: Re: yet another simple SQL question