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
 SQL Server 2012 Forums
 SSIS and Import/Export (2012)
 script task to find diff text
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

shanmugaraj
Posting Yak Master

212 Posts

Posted - 04/16/2013 :  09:55:13  Show Profile  Send shanmugaraj a Yahoo! Message  Reply with Quote
I have 2 parameters with different text and i want to get the different text



str_variable_1 = "Name,Gender,Age"

str_variable_2 = "Name,Gender,Age,Dept_Id,Desig_Id"

I need to return = str_Query

Alter table Employee Add Column Dept_Id int NOT NULL, Desig_Id int NOT NULL


THANKS
SHANMUGARAJ
nshanmugaraj@gmail.com

visakh16
Very Important crosS Applying yaK Herder

India
52309 Posts

Posted - 04/16/2013 :  11:00:45  Show Profile  Reply with Quote
try using REPLACE

------------------------------------------------------------------------------------------------------
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.06 seconds. Powered By: Snitz Forums 2000