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 |
|
rabisco
Starting Member
15 Posts |
Posted - 2012-05-07 : 16:10:02
|
I have the following scenario.I have a column in a database which can have one or more paragraphs <P></P>I have the following data...DECLARE @Text Nvarchar(250)DECLARE @StartPoint intDECLARE @EndPoint intSET @Text = 'Paragraph One <P>product1=1234 prodcut2=5678</p>Paragraph Two <P>product1=1234</P>Paragraph Three<P>prodcut2=5678</P>Paragraph Four <P>prodcut2=1111</P>' The end result is such that each paragraph should have product1 and product2.Paragraphs which currently have product1 and product2 should not be processed. |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2012-05-07 : 16:22:33
|
| so are you looking at changing table data itself or just do the replace while retriving?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
 |
|
|
|
|
|