Search Postgresql Archives

SQL UPDATE question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
Here is a quick and easy one I have a questions about:

I have a table (customers) that has a field (firstname) with the following data.

firstname
--------------------
Mike H
Josh
Jim B
Katie I
Jeff
Suzy
John R


Can someone provide the syntax for a SQL UPDATE statement that will remove middle initial in the above column and leave the first name intact?

Please let me know.

Thanks,
Josh


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux