Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [NeedScripts.Com] Unvalidate all in Certain Category

Quote Reply
Re: [NeedScripts.Com] Unvalidate all in Certain Category In reply to
Hi,

Actually, you wouldn't need the ID numbers for the links. This is because the CatLinks table has two fields:

LinkID and CategoryID

The SQL commands noted would only find those records in the CatLinks table where the CategoryID matches the one you specify. Then it will only find the Links records where the LinkID matches the CategoryID, and it will then set the isValidated field = No only for those link ID numbers.

So basically you wouldn't need to specify any LinkID's as it can find these from the CatLinks table when you specify the category ID. Kind of confusing, I agree. I tried it and it worked, but I would test it first with a custom field Validate_Test as noted in the previous post. And if you don't feel comfortable doing it, then it might be best not to try as mistakes in SQL Monitor can cause big problems. I just wanted to provide a solution that worked for me.

--Frank

Last edited by:

FrankM: Oct 5, 2004, 8:32 AM
Subject Author Views Date
Thread Unvalidate all in Certain Category VishalT 2919 Oct 4, 2004, 11:00 AM
Thread Re: [NeedScripts.Com] Unvalidate all in Certain Category
webmaster33 2827 Oct 4, 2004, 11:26 AM
Thread Re: [webmaster33] Unvalidate all in Certain Category
VishalT 2826 Oct 4, 2004, 12:03 PM
Post Re: [NeedScripts.Com] Unvalidate all in Certain Category
webmaster33 2863 Oct 4, 2004, 12:15 PM
Thread Re: [NeedScripts.Com] Unvalidate all in Certain Category
FrankM 2809 Oct 4, 2004, 1:35 PM
Thread Re: [FrankM] Unvalidate all in Certain Category
VishalT 2818 Oct 5, 2004, 2:52 AM
Post Re: [NeedScripts.Com] Unvalidate all in Certain Category
FrankM 2782 Oct 5, 2004, 8:30 AM