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
If your datbase prefix is lsql_, then you could use the following command in SQL Monitor to set the value for isValidated to No for all of the links in a specific category (category identified by its ID number):

Update lsql_Links, lsql_CatLinks
set lsql_Links.isValidated = 'No'
where lsql_Links.ID = lsql_CatLinks.LinkID
and lsql_CatLinks.CategoryID= Put the Category ID Number Here

BUT to be safe I would first create a test field in the Links Database (something like Validate_Test), and then run the above command using Validate_Test instead of isValidated. Then if those links that have the value of No for Validate_Test are the ones you actually want unvalidated, then you can do the above command with the actual isValidated value.

--FrankM
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 2826 Oct 4, 2004, 11:26 AM
Thread Re: [webmaster33] Unvalidate all in Certain Category
VishalT 2825 Oct 4, 2004, 12:03 PM
Post Re: [NeedScripts.Com] Unvalidate all in Certain Category
webmaster33 2862 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 2817 Oct 5, 2004, 2:52 AM
Post Re: [NeedScripts.Com] Unvalidate all in Certain Category
FrankM 2781 Oct 5, 2004, 8:30 AM