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.

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 retreiving a part from data field

Author  Topic 

resmid
Starting Member

1 Post

Posted - 2012-11-18 : 09:53:54
please help me to extract the sentence after RESPMSG in sqlquery
<span class="bold-text">RESPMSG:</span> Invalid account number<br />

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2012-11-18 : 10:11:31
[code]replace(column_name, 'RESPMSG:', '')[/code]


KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-11-19 : 01:51:56
so what should be output? everything after RESPMSG or only text invalid account number?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -