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

Posting Yak Master

219 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


Very Important crosS Applying yaK Herder

52326 Posts

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

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