From 978aab491640c4d9541f644629d110414823f9ee Mon Sep 17 00:00:00 2001 From: Devin Jankowski Date: Fri, 8 Dec 2023 14:49:16 -0500 Subject: [PATCH] Add Barakah/UpdateFormatList.sql --- Barakah/UpdateFormatList.sql | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Barakah/UpdateFormatList.sql diff --git a/Barakah/UpdateFormatList.sql b/Barakah/UpdateFormatList.sql new file mode 100644 index 0000000..4325958 --- /dev/null +++ b/Barakah/UpdateFormatList.sql @@ -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, '','') +WHERE FolderID = 1