Add Barakah/UpdateFormatList.sql
This commit is contained in:
parent
c33b383d3b
commit
978aab4916
14
Barakah/UpdateFormatList.sql
Normal file
14
Barakah/UpdateFormatList.sql
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
/*******************************/
|
||||||
|
/******** 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
|
Loading…
x
Reference in New Issue
Block a user