Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Server Agent job category - Script?

Status
Not open for further replies.

smedvid

MIS
Joined
May 28, 1999
Messages
1,228
Location
US
Any TSQL to create a SQL Server Agent job category?

Tia,

Steve Medvid
"IT Consultant & Web Master"

Chester County, PA Residents
Please Show Your Support...
 
Got it ... did not search the correct keywords I guess...

IF (SELECT COUNT(*) FROM msdb.dbo.syscategories WHERE name = N'CashDaily') < 1
EXECUTE msdb.dbo.sp_add_category @name = N'CashDaily'


Steve Medvid
&quot;IT Consultant & Web Master&quot;

Chester County, PA Residents
Please Show Your Support...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top