Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 retreiving a part from data field
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

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

In (Som, Ni, Yak)

17689 Posts

Posted - 11/18/2012 :  10:11:31  Show Profile  Reply with Quote
replace(column_name, 'RESPMSG:', '')

Time is always against us

Go to Top of Page

Very Important crosS Applying yaK Herder

52326 Posts

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

SQL Server MVP

Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000