Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
micnie_2020
Posting Yak Master
232 Posts |
Posted - 2013-07-17 : 11:00:59
|
Hi All,How am i going to select only (xxxx) value?Field Description value, e.g.: User Testing (UAT) => Output needed UATUnit Testing (UT) => Output needed UTSystem Integration (SIT) => Output needed SITPlease advise.Thank you. |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2013-07-17 : 11:14:11
|
[code]SELECT REPLACE(STUFF(Field,1,CHARINDEX('(',Field),''),')','') FROM table[/code]------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/https://www.facebook.com/VmBlogs |
|
|
|
|
|