﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server 2008 - General  / Modify Job name / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 25 May 2013 00:42:16 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Modify Job name</title><link>http://www.sqlservercentral.com/Forums/Topic1405990-391-1.aspx</link><description>ALTER DATABASE XXX SET NEW_BROKER WITH ROLLBACK IMMEDIATEFirst stop everything that uses service broker in MSDB, like DBMail or anything you have created manually.</description><pubDate>Mon, 14 Jan 2013 01:22:39 GMT</pubDate><dc:creator>anthony.green</dc:creator></item><item><title>RE: Modify Job name</title><link>http://www.sqlservercentral.com/Forums/Topic1405990-391-1.aspx</link><description>Got below error:Cannot enable the Service Broker in database "msdb" because the Service Broker GUID in the database (XXXXX....) does not match the one in sys.databases (YYYYY.......).I dont have an clue whether the master/msdb was restored from another server. Can i create a new service broker. For this any precautions needed like i have to check all the existing service broker etc?</description><pubDate>Sat, 12 Jan 2013 14:36:02 GMT</pubDate><dc:creator>balasach82</dc:creator></item><item><title>RE: Modify Job name</title><link>http://www.sqlservercentral.com/Forums/Topic1405990-391-1.aspx</link><description>Yep, thats the documented way to do what you want to do.</description><pubDate>Fri, 11 Jan 2013 08:26:24 GMT</pubDate><dc:creator>anthony.green</dc:creator></item><item><title>RE: Modify Job name</title><link>http://www.sqlservercentral.com/Forums/Topic1405990-391-1.aspx</link><description>Yes, i didnt want to update the systables directly. thats why wanted to find the best way to do this.Running the sp_update_job is the best method and no other "Accepted" way. Is it?</description><pubDate>Fri, 11 Jan 2013 08:23:19 GMT</pubDate><dc:creator>balasach82</dc:creator></item><item><title>RE: Modify Job name</title><link>http://www.sqlservercentral.com/Forums/Topic1405990-391-1.aspx</link><description>Don't update the system tables directly.Instead use sp_update_job passing in the old name and the new name.</description><pubDate>Fri, 11 Jan 2013 07:53:38 GMT</pubDate><dc:creator>anthony.green</dc:creator></item><item><title>RE: Modify Job name</title><link>http://www.sqlservercentral.com/Forums/Topic1405990-391-1.aspx</link><description>Hi balasach82,Lets say i have a job that is called Backup and my servername is BI-ONT this could be the query that you could use.Update msdb..sysjobsSet name = 'BI-ONT'+'_'+ namewhere name = 'Backup'If you don't use the Where clause de statement will update all your jobs.Don't forget to refresh your object explorer after all of this.Marbo</description><pubDate>Fri, 11 Jan 2013 07:47:20 GMT</pubDate><dc:creator>Marbo</dc:creator></item><item><title>Modify Job name</title><link>http://www.sqlservercentral.com/Forums/Topic1405990-391-1.aspx</link><description>How to rename all the job in an sql server 2005? I need to add the servername to the jobnames?</description><pubDate>Fri, 11 Jan 2013 07:01:45 GMT</pubDate><dc:creator>balasach82</dc:creator></item></channel></rss>