SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Sql Spli
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

aoriju
Posting Yak Master

India
156 Posts

Posted - 11/08/2013 :  05:30:06  Show Profile  Reply with Quote
Hi team

DECLARE @Str_Ourput_Cognizant_Owned AS VARCHAR(100);

SET @Str_Ourput_Cognizant_Owned ='Project = 190';

I need to get the output as 190

visakh16
Very Important crosS Applying yaK Herder

India
52249 Posts

Posted - 11/08/2013 :  05:40:26  Show Profile  Reply with Quote

SELECT STUFF(@Str_Ourput_Cognizant_Owned,1,CHARINDEX(' = ',@Str_Ourput_Cognizant_Owned)+ 2,'')


------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
  Previous Topic Topic Next Topic  
 New 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.12 seconds. Powered By: Snitz Forums 2000