Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Link with category ID

Author  Topic 

vijays3
Constraint Violating Yak Guru

354 Posts

Posted - 2010-05-12 : 13:16:01
Hi Experts ,

I need to know which table is linked with Category_ID column of
msdb..sysjobs. I have to get the category description according to Category_ID but i am not aware of the table.Could you please make me aware of the table or any inputs on this.


Thanks
Vijay

vijays3
Constraint Violating Yak Guru

354 Posts

Posted - 2010-05-12 : 13:23:12
Now i found that table is msdb..syscategories..
Go to Top of Page

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2010-05-12 : 13:25:33
SELECT name FROM sysobjects
WHERE id IN ( SELECT id FROM syscolumns WHERE name like '%Category_ID%' )

gives:

sysjobs
sysjobs_view
sp_verify_job
sp_add_job
sp_get_composite_job_info
syscategories
sysalerts
sysoperators
sp_addtask
sp_verify_operator
sp_verify_category_identifiers
sp_verify_alert


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
   

- Advertisement -