Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
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.
Hello,I have a table with records that sometimes has extra descriptions between ():EG:namemark (good guy)evelinejacobtim (short guy)Now i want to show only the name without the description.Does someone knows a way to do this on a efficient way?Mike
AlsoSTUFF(name,charindex('(',name+ '('),LEN(name),'')------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/https://www.facebook.com/VmBlogs