February 10, 2012 at 2:56 pm
Hi Here is my update script and
i want to make a rerunnable you can say dynamically run the script
UPDATE c
SET ContentMessage = REPLACE(ContentMessage, 'Chase is a debt collector.','') from ContentMessage as c INNER JOIN ContentFilter as cf
ON c.ContentFilterId=cf.ContentFilterId INNER JOIN ContentType as ct
ON cf.ContentTypeId=ct.ContentTypeId JOIN SubscriptionType s
ON s.SubscriptionName=cf.SubscriptionName AND s.SubscriptionName IN ('home_pymt_prob') AND ct.ContentType IN ('Push','SMSText','AlertsHistory')
can you please tell how i modified this script to rerunnable so if someone run this script then they able to run multiple time in same database.
or if i need to check that this column is already modified then it will not fail to run.
Thank you in advance.
February 10, 2012 at 6:03 pm
What do you want to make "dynamic" in the script?
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply