/*******************************/
/******** IMPORTANT!!! ********/
/* Update the @active variable with the appropriate number for the
specific plant you are working on BEFORE you run this script.  This
must be formatted in a comma-separated list with each value for the 
formats that should be made available to the plant.  Additionally,
the number 1000 is for all generic and base formats that should be
available to all plants.  You can find the value(s) to be entered by
looking at the ApplicablePlant value in update statements below*/
/*******************************/
DECLARE @active varchar(50)
SET @active = '1000,3' 
UPDATE Folders SET Config = REPLACE(Config, '</Config>','<Formats Active="' + @active + '" /></Config>')
WHERE FolderID = 1
