Adding query to get where a script is used

This commit is contained in:
Zack T
2024-06-19 22:18:53 -07:00
parent b7c91c53fc
commit c9cc5d77e4

View File

@@ -179,3 +179,13 @@ WHERE
)
;
-- ##################################################
-- Get where a script is used
select policy_id
from policy_scripts
where script_id = (
select scripts.script_id
from scripts
where scripts.file_name = "<name of script>"
);