Remove specific string from multiple database rows in SQL
Posted
by Scott
on Stack Overflow
See other posts from Stack Overflow
or by Scott
Published on 2010-04-20T18:11:50Z
Indexed on
2010/04/20
18:13 UTC
Read the original article
Hit count: 168
I have a column that contains page titles, which has the website name appended to the end of each. (e.g. Product Name | Company Name Inc.) I would like to remove the " | Company Name Inc." from multiple rows simultaneously. What SQl query commands (or query itself) would allow me to accomplish this?
To re-illustrate, I want to convert multiple rows of 1 column from this: Product Name | Company Name Inc.
To this: Product Name
© Stack Overflow or respective owner