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.
Hi,I have the following field :PartnerTURNERCX&QAS=Y5291MCCAULTH&QAS=Y3230&QAS=YI need to get only the part of the string in red.Current Code:case when Partner like '%&QAS%' then SUBSTRING(Partner, CHARINDEX('',Partner), 10)Thanks for your help,Petronas